Date: Fri, 29 Jun 2018 20:48:05 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229420] Reduce diff between msun/src/e_pow.c and msun/src/e_powf.c Message-ID: <bug-229420-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229420 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@FreeBSD.org Reporter: sgk@troutmask.apl.washington.edu Created attachment 194744 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194744&action= =3Dedit 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. --=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-229420-227>
