floating point verification using is?
"Jérôme M. Berger"
jeberger at free.fr
Tue Dec 29 03:25:26 PST 2009
Don wrote:
> 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
>> things
>> 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" :)
Jerome
--
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20091229/a74d2bc0/attachment-0001.pgp>
More information about the Digitalmars-d-learn
mailing list