| Summary: | Reduce diff between msun/src/e_pow.c and msun/src/e_powf.c | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | sgk | ||||
| Component: | bin | Assignee: | Mark Johnston <markj> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | markj, mikael | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | CURRENT | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
A commit references this bug: Author: markj Date: Sun Jul 8 16:33:59 UTC 2018 New revision: 336090 URL: https://svnweb.freebsd.org/changeset/base/336090 Log: Reduce diff between msun/src/e_pow.c and msun/src/e_powf.c. Remove unnecessary casts, use integer literal constants instead of floating point constants where possible, and introduce three const static variables to hold 0.5, 0.25, and 1/3. PR: 229420 Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu> MFC after: 1 week Changes: head/lib/msun/src/e_pow.c head/lib/msun/src/e_powf.c A commit references this bug: Author: markj Date: Sun Jul 15 15:28:24 UTC 2018 New revision: 336305 URL: https://svnweb.freebsd.org/changeset/base/336305 Log: MFC r336090: Reduce diff between msun/src/e_pow.c and msun/src/e_powf.c. PR: 229420 Changes: _U stable/11/ stable/11/lib/msun/src/e_pow.c stable/11/lib/msun/src/e_powf.c A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c77faeee3ec0056573a33e3bc850f5187b1789c4 commit c77faeee3ec0056573a33e3bc850f5187b1789c4 Author: William Muir <wamuir@gmail.com> AuthorDate: 2021-11-13 14:30:34 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2021-11-13 15:11:27 +0000 devel/bazel: Unbreak on aarch64. Set initial and max Java heap to 128M and 1G respectively when building Bazel under aarch64. PR: 229420 devel/bazel/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (In reply to commit-hook from comment #3) sorry wrong PR number |
Created attachment 194744 [details] 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.