floats default to NaN... why?

F i L witte2008 at gmail.com
Sat Apr 14 00:52:50 PDT 2012


On Saturday, 14 April 2012 at 06:43:11 UTC, Manfred Nowak wrote:
> F i L wrote:
>
>> It sounds like circular reasoning.
>
> Several considerations pressed the design into the current form:
> 1) always changing output on unchanged input is hard to debug
> 2) GC needs to be saved from garbage, that looks like pointers
> 3) missed explicit initializations should not create syntax 
> errors
> 4) use hardware signalling to overcome some of the limitations
> impressed by 3).
> 5) more???
>
> For me the only questionable point is numer three.
>
> -manfred

1) Good argument.
2) Don't know enough about the GC. Can't comment.
3) I agree. I just disagree with how they are expected to be used 
without explicit definition.
4) I have no idea what you just said... :)
5) profit??


More information about the Digitalmars-d-learn mailing list