mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
Partially revert ac76bc1145 because it is no longer necessary
Inac76bc1145, I added a few volatiles to work around ctrig_test failures with {inf,inf}. This is not necessary anymore now, since in3b00222f15we added -fp-exception-behavior=maytrap for clang >= 10 in libm's Makefile. (The flag tells clang to use stricter floating point semantics, which libm depends on.) PR: 244732, 254911 Fixes:ac76bc1145(cherry picked from commite2157cd000)
This commit is contained in:
1 parent
2517b11885
commit
ca7ffd26b3
3 files changed
+3
-3
No files matched your search
@@ -41,7 +41,7 @@ static const float huge = 0x1p127;
|
||||
float complex
|
||||
ccoshf(float complex z)
|
||||
{
|
||||
volatile float x, y, h;
|
||||
float x, y, h;
|
||||
int32_t hx, hy, ix, iy;
|
||||
|
||||
x = crealf(z);
|
||||
|
||||
@@ -74,7 +74,7 @@ __FBSDID("$FreeBSD$");
|
||||
double complex
|
||||
ctanh(double complex z)
|
||||
{
|
||||
volatile double x, y;
|
||||
double x, y;
|
||||
double t, beta, s, rho, denom;
|
||||
uint32_t hx, ix, lx;
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");
|
||||
float complex
|
||||
ctanhf(float complex z)
|
||||
{
|
||||
volatile float x, y;
|
||||
float x, y;
|
||||
float t, beta, s, rho, denom;
|
||||
uint32_t hx, ix;
|
||||
|
||||
|
||||
Reference in new issue
Block a user