[Bug 277783] libc fma() doesn't not return the correct zero sign

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Mar 2024 20:12:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277783

--- Comment #3 from Steve Kargl <kargl@FreeBSD.org> ---
If one looks in src/s_fma.c, one sees

#ifdef USE_BUILTIN_FMA
double
fma(double x, double y, double z)
{
        return (__builtin_fma(x, y, z));
}
#else

If libm is built with -DUSE_BUILTIN_FMA, then one get -0.

-- 
You are receiving this mail because:
You are the assignee for the bug.