[RFC]: refactor math/base/special/log2
to follow FreeBSD version 12.2.0
#2170
Labels
Accepted
RFC feature request which has been accepted.
Enhancement
Issue or pull request for enhancing existing functionality.
Math
Issue or pull request specific to math functionality.
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 theklog
function forlog2
. As we have implementedkernelLog1p
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 bothkernelLog1p
andlog2
provide way better precision, as compared to having12.2.0
forkernelLog1p
and9.3.0
forlog2
.References:
kernelLog1p: 12.2.0
log2: 9.3.0
log2: 12.2.0
Related Issues
None.
Questions
No.
Other
No.
Checklist
RFC:
.The text was updated successfully, but these errors were encountered: