A journal about bits and pieces.


Subscribe to this tag’s RSS feed to get new a-programmers-diary posts as they’re written. Currently, there is one post.

If you really want your values in the correct range

Update: Made the statement look more intuitive. Also corrected a rogue closing parenthesis... The other day I noticed a subtle bug in one of my Java visualization prototypes. I somehow got NaNs everywhere, where there should absolutely be none of them. The math I am using is correct, so I had to find the place where the NaN was produced. I would really like it if