This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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

Paul Koning wrote:

From the name I would expect __builtin_huge_val() to return a large
finite value, not infinite...
HUGE_VAL is a historic name for this. Early implementation really meant a huge value since they had no Inf. For modern architectures the meaning was taken over. Since gcc has to support either we have to do one group something wrong. There is no good reason to break with existing practice so we might as well stick with HUGE_VAL:

- -- - ---------------. ,-. 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

iD8DBQE9dQCZ2ijCOnn/RHQRAt8sAJ9iR8c9FY4SDF2Tre0QXpO5zNGyFwCglJeQ
C969uHk0KayCSDlcQuHzUjM=
=hVx9
-----END PGP SIGNATURE-----


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