Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2024 13:30:39 -0400
From:      enh <enh@google.com>
To:        enh via freebsd-numerics <freebsd-numerics@freebsd.org>
Subject:   #pragma STDC FENV_ACCESS ON
Message-ID:  <CAJgzZoopJT3AJM8cbWzPjheKkcO9bAXXjVauw5g08bb=hgWeHQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
i see lib/msun/src/e_sqrtl.c has `#pragma STDC FENV_ACCESS ON`, but
s_fma.c, s_fmaf.c, s_fmal.c, and s_nearbyint.c all use fesetround() or
fesetenv() too --- shouldn't they also have the pragma?

(Android currently builds all of libm with that pragma, but (a) that
seems like a big hammer and (b) afaict upstream [you] don't, so this
is potentially causing problems^W^Wallowing the compiler to cause
problems for you?)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJgzZoopJT3AJM8cbWzPjheKkcO9bAXXjVauw5g08bb=hgWeHQ>