
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/03/2010 09:27 PM, Jeffrey Lee Hellrung, Jr. wrote:
At the moment, I'm inclined to leave it out of the library for now, at least until someone can show an application where it would be more useful than the Not-a-Number value. But there's still at least a few days for people to make their cases before I have to make a decision. And we can always revisit the idea after the 1.0 release is stable.
True, infinities would have somewhat specialized applications, but it makes some sense (to me) to include it if you're already going to waste a byte on an NaN flag anyway.
Ah, but I'm not. :-) Since each xint::integer has a pointer to a data_t object (which holds the actual information), I simply set that pointer to zero for a NaN. No flags or extra storage involved. - -- Chad Nelson Oak Circle Software, Inc. * * * -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAku39NEACgkQp9x9jeZ9/wR7CgCfVsJzld8j2sdxKYCY8kvXPZFq KVgAoKWvmGBUN7p3j/HIwZYfDmpnELzM =32J7 -----END PGP SIGNATURE-----