[Bug 229420] Reduce diff between msun/src/e_pow.c and msun/src/e_powf.c
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jun 29 20:48:07 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229420
Bug ID: 229420
Summary: Reduce diff between msun/src/e_pow.c and
msun/src/e_powf.c
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: sgk at troutmask.apl.washington.edu
Created attachment 194744
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194744&action=edit
reduce diff
The attached patch reduces the diff between e_pow.c and e_powf.c.
Specifically, it removes unnecessary casts, uses integer literal
constants instead of floating point constants were possible, and
introduces three const static variables to hold 0.5, 0.25, and 1/3.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list