[Mono-list] double trouble

Bob Doan bdoan@sicompos.com
22 Feb 2002 09:38:18 -0500


Last night I was starting another test case for System.Double when I
noticed something strange.

Double.MinValue & MaxValue are supposed to be (-) 1.79769313486232e308.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdoubleclassmaxvaluetopic.asp

However, if I try to assign a double that value it my code will not
compile, saying the number is out of range.  I noticed that in the
actual System.Double code the number is smaller then what I see it
should be from MS........

Any ideas anyone?

Thanks!

- Bob