This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: V3 PATCH: numeric_limits<> support, fix PR/3865


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Henderson wrote:
On Mon, Sep 02, 2002 at 12:39:40PM -0700, Ulrich Drepper wrote:

I'd rather see this mathod extended:

 __builtin_nan ("...")
 __builtin_qnan ("...")
 __builtin_snan ("...")
 __builtin_inf ()

Sure.  I suppose __builtin_qnan is like __builtin_nan except that the
mantessa is forced to be quiet?
Yes. And it also allows for a different default nan (if this should be necessary).

__builtin_nan ("")

could be either __builtin_snan ("") or __builtin_qnan ("").


And obviously we need float and long double versions as well.

- -- - ---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9c9822ijCOnn/RHQRAuvjAKCz/Q3LKTUwFP9DZgqg0fX2U3kyswCeKjej
Pp2FcnWHKPhWfA+CtSUSrWc=
=iLOH
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]