floating point verification using is?
"Jérôme M. Berger"
jeberger at free.fr
Tue Dec 29 03:25:26 PST 2009
> Steven Schveighoffer wrote:
>> That value should always be consistent. There has to be a way to
>> verify that the value was set properly. Otherwise, how do you verify
>> like communication protocols or expectations for runtime functions?
> I think that sending an uninitialized variable down a communication
> channel is always a bug.
Yes, it's a bug in the *sender*. However, the *receiver* should be
able to handle the case gracefully (and stopping because of a
signalling NaN is not "gracefully" :)
mailto:jeberger at free.fr
Jabber: jeberger at jabber.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: OpenPGP digital signature
More information about the Digitalmars-d-learn