floats default to NaN... why?

Jonathan M Davis jmdavisProg at gmx.com
Fri Apr 13 23:35:53 PDT 2012


On Friday, April 13, 2012 23:29:40 Ali Çehreli wrote:
> On 04/13/2012 09:00 PM, F i L wrote:
>  > default is NaN
> 
> Just to complete the picture, character types have invalid initial
> values as well: 0xFF, 0xFFFF, and 0x0000FFFF for char, wchar, and dchar,
> respectively.

Yeah. Thanks for mentioning those. I keep forgetting to list them whenever 
default values get discussed...

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list