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: __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


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