August 7th, 2002

cartoonme

(no subject)

I decided I was sick of a beard. All my hair is now gone. I suspect this will only make one of my friends happy, but I didn't really aim to please. And I figured, based on my performance at work lately, that I couldn't take a performance hit.
Collapse )
cartoonme

Wizard question

In C++

Our floating point library needs a value for inf and -inf. Presently, this was done by

min_real_val = -1.0 / 0.0;

and the obvious counter to that. This causes the compiler (our compiler, even) to complain... but it works (I believe). Is there a better way to get these values?