https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294214

--- Comment #6 from Steve Kargl <[email protected]> ---
Ugh*ugh.

The addition of '#pragma STDC FENV_ACCESS ON' changes
clang's to agree with fmax(3).


% cc -o z fmax.c -lm && ./z
fmax( 0,  0) =  0 expecting  0
fmax(-0,  0) = -0 expecting  0 <-- FAILED
fmax( 0, -0) =  0 expecting  0
fmax(-0, -0) = -0 expecting -0


% cc -o z fmax.c -DWITH_PRAGMA -lm && ./z
fmax( 0,  0) =  0 expecting  0
fmax(-0,  0) =  0 expecting  0
fmax( 0, -0) =  0 expecting  0
fmax(-0, -0) = -0 expecting -0

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to