Skip to content

[RFC]: refactor math/base/special/log2 to follow FreeBSD version 12.2.0 #2170

Closed
@gunjjoshi

Description

@gunjjoshi

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

No one assigned

    Labels

    AcceptedRFC feature request which has been accepted.EnhancementIssue or pull request for enhancing existing functionality.MathIssue or pull request specific to math functionality.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions