Blogs / Personal blogs

Hummus and Magnets

h14s.p5r.org

I’m Christian Plesner Hansen. I’m a software engineer working out of Århus, Denmark. This is my technical blog.

Popular posts
3
Total points
529
HN comments
176
Rank
#4,819 personal

Visit h14s.p5r.org → RSS feedOn Hacker News Nov 2014 – Mar 2023

Software Engineering 3Math & Algorithms 2Programming Languages 1

2

Bitwise Division

Integer division is expensive. Much more expensive than multiplication. Much, much more expensive than addition. If you’re trying to make some integer operations really fast it’s bad news if you need to do division.

3

Why I find IEEE 754 frustrating

Programming languages new (Java) and old (Fortran), and their compilers, still lack competent support for features of IEEE 754 so painstakingly provided by practically all hardware nowadays. […] Programmers seem unaware that IEEE 754 is a standard for their programming environment, not just for hardware. William Kahan