A personal journal about bits & pieces of technology.


Subscribe to this tag’s RSS feed to get new code posts as they’re written. Currently, there are 3 posts.

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