[Cfp-interest 2385] Re: FLT_EVAL_METHOD

Damian McGuckin damianm at esi.com.au
Mon Feb 14 18:48:06 PST 2022


On Tue, 15 Feb 2022, Vincent Lefevre wrote:

> On 2022-02-15 11:15:23 +1100, Damian McGuckin wrote:
>> These days, compilers seem to have it as 0, unless changed when you invoke
>> the compiler. Was it always thus or did compilers used to have it set as 1
>> or 2?
>
> On i686 (32-bit x86) with GCC 4.1.2, using -std=c99 -O0 or -O2,
> FLT_EVAL_METHOD was defined as 2.
>
> On x86_64 with the Open64 Compiler Suite Version 4.1,
> using -std=c99 -O2, FLT_EVAL_METHOD was defined as 2.
>
> On ia64 (Itanium) with ICC 10.1 20080212, using -std=c99 -O1 or -O2,
> FLT_EVAL_METHOD was defined as -1 (with -std=c99 -O0, it was defined
> as 0).

Thanks.

I thought I had a good memory.

You and Fred make my memory look positively senile.

Stay safe - Damian

Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer


More information about the Cfp-interest mailing list