Email list hosting service & mailing list manager


Re: reading NaNs Thomas Bushnell BSG 27 Oct 2005 20:14 UTC

Marcin 'Qrczak' Kowalczyk <xxxxxx@knm.org.pl> writes:

> Thomas Bushnell BSG <xxxxxx@becket.net> writes:
>
>> You could turn on a special "track source on NaNs" feature, which
>> squirrels away, say, a complete stack record (or something less
>> perhaps, depending on what you ask for), and then every NaN generated
>> now gets tagged with a *very* nice handle for debugging.
>
> This can be done by changing the implementation of arithmetic to
> produce those special values with traces *instead* of regular NaNs.
> There is no need to change the semantics of IEEE NaNs.

Who said anything about changing the semantics of IEEE NaNs?