[Bug 229501] [libm] Reduce diff between src/e_j0.c and src/e_j0f.c
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 8 15:23:44 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229501
Pedro F. Giffuni <pfg at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pfg at FreeBSD.org
--- Comment #1 from Pedro F. Giffuni <pfg at FreeBSD.org> ---
Looking at the patch:
--- src/e_j0f.c (revision 342861)
+++ src/e_j0f.c (working copy)
@@ -42,7 +42,7 @@
S03 = 5.1354652442e-07, /* 0x3509daa6 */
S04 = 1.1661400734e-09; /* 0x30a045e8 */
-static const float zero = 0.0;
+static const float zero = 0, qrtr = 0.25;
float
__ieee754_j0f(float x)
...
It is probably old school but I would prefer we still use 0.0 for float.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list