feat: add constants/float16/log2-e#9029
Conversation
---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
- task: lint_filenames
status: passed
- task: lint_editorconfig
status: passed
- task: lint_markdown
status: passed
- task: lint_package_json
status: passed
- task: lint_repl_help
status: passed
- task: lint_javascript_src
status: passed
- task: lint_javascript_cli
status: na
- task: lint_javascript_examples
status: passed
- task: lint_javascript_tests
status: passed
- task: lint_javascript_benchmarks
status: na
- task: lint_python
status: na
- task: lint_r
status: na
- task: lint_c_src
status: na
- task: lint_c_examples
status: na
- task: lint_c_benchmarks
status: na
- task: lint_c_tests_fixtures
status: na
- task: lint_shell
status: na
- task: lint_typescript_declarations
status: passed
- task: lint_typescript_tests
status: passed
- task: lint_license_headers
status: passed
---
Coverage Report
The above coverage report was generated for the changes in this PR. |
|
Hey @DivyanshuVortex can you provide me the issue, I need to see what constants are left. |
|
@opbot-xd — I’m also loking for missing packages, but there are currrently many open PRs adding similar ones. Because of that, I can’t say for sure whether the package you added is already covered in earlier PRs. Im waiting for maintainers to review & merge or close those PRs which make more clearer for finding the missing packages . |
|
Ref: #8991 |
|
Thank you for working on this pull request. However, we cannot accept your contribution as the issue this pull request seeks to resolve has already been addressed in a different pull request or commit. Thank you again for your interest in stdlib, and we look forward to reviewing your future contributions. |
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
Description
This pull request:
@stdlib/constants/float16/log2-epackage, which provides the half-precision (float16) approximation of the base 2 logarithm of Euler's number (log₂(e) ≈ 1.4424).Related Issues
This pull request addresses the need for additional float16 mathematical constants in stdlib, complementing the existing float64
log2-econstant.Questions
No.
Other
Implementation Notes:
1.4424was calculated as the half-precision representation oflog₂(e) ≈ 1.4426950408889634@stdlib/constants/float16/e)Test Results:
TAP version 13
main export is a number
ok 1 main export is a number
export is a half-precision floating-point number equal to 1.4424
ok 2 returns expected value
tests 3
pass 3
ok
Checklist
AI Assistance
@stdlib-js/reviewers