Does "strictfp" affect called/intrinsified Math functions?

Andrew Leonard anleonar at redhat.com
Mon Jan 25 19:22:08 UTC 2021


Hi,
Can I just check my understanding is correct, in that the following example
will not actually return a "strictfp" value, because the Math.exp() is not
strictfp and by default is a non-strictfp Intrinsic inline implementation?
Thanks
Andrew

    private strictfp double strictfpMathExp(double input)
    {
      return Math.exp(input);
    }


More information about the core-libs-dev mailing list