Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2024 20:12:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277783] libc fma() doesn't not return the correct zero sign
Message-ID:  <bug-277783-227-UC6p8f2CuF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277783-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277783-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277783

--- 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277783-227-UC6p8f2CuF>