-
-
Notifications
You must be signed in to change notification settings - Fork 880
Closed
Labels
AcceptedRFC feature request which has been accepted.RFC feature request which has been accepted.EnhancementIssue or pull request for enhancing existing functionality.Issue or pull request for enhancing existing functionality.MathIssue or pull request specific to math functionality.Issue or pull request specific to math functionality.
Description
Description
This RFC proposes refactoring math/base/special/log2
based on FreeBSD version 12.2.0, instead of the current 9.3.0.
This comes after we added a separate package for kernel-log1p
at #2144, which eliminates the need to rewrite the klog
function for log2
. As we have implemented kernelLog1p
based on FreeBSD 12.2.0, log2
must also be refactored to follow the same version, which has a bit different implementation.
Tested locally, having 12.2.0
version implementations for both kernelLog1p
and log2
provide way better precision, as compared to having 12.2.0
for kernelLog1p
and 9.3.0
for log2
.
References:
Related Issues
None.
Questions
No.
Other
No.
Checklist
- I have read and understood the Code of Conduct.
- Searched for existing issues and pull requests.
- The issue name begins with
RFC:
.
Metadata
Metadata
Assignees
Labels
AcceptedRFC feature request which has been accepted.RFC feature request which has been accepted.EnhancementIssue or pull request for enhancing existing functionality.Issue or pull request for enhancing existing functionality.MathIssue or pull request specific to math functionality.Issue or pull request specific to math functionality.