This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: __builtin_huge_val, __builtin_inf, and std::numeric_limits
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Richard Henderson <rth at redhat dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>, <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 5 Sep 2002 00:59:48 +0100 (BST)
- Subject: Re: __builtin_huge_val, __builtin_inf, and std::numeric_limits
On Wed, 4 Sep 2002, Richard Henderson wrote:
> * builtin-types.def (BT_FN_FLOAT): New.
> (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
> * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
> BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
> * builtins.c (fold_builtin_inf): New.
> (fold_builtin): Call it.
> * real.c (ereal_inf): New.
> * real.h: Declare it.
> * doc/extend.texi: Document new builtins.
Testcases needed.
--
Joseph S. Myers
jsm28@cam.ac.uk