Welcome! and rules
Joel on Software
Funnny .NET Infinity bug
1. Launch VS.NET
Put the following line anywhere in your code:
double d = Double.NegativeInfinity;
Place a breakpoint on adjacent line and check the value of "d" variable via Add Watch/Quick Watch.
The result would be: NaN
It has been reproduced in both Framework 1.0 and 1.1.
On few machines, however, the result is displayed correctly as "-infinity".
Friday, January 30, 2004
Fog Creek Home