stdlib-js / stdlib-js/stdlib

Add tests for IEEE 754-2019 compliance

未关闭
#365 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bug Help Wanted Math
主要语言
JavaScript
星标
6k
派生
1.3k
平均合并
1 天 3 小时
30 天内合并 PR
611

描述

## Checklist

> Please ensure the following tasks are completed before filing a bug report.

- [x] Read and understood the [Code of Conduct][code-of-conduct].
- [x] Searched for existing issues and pull requests.

## Description

> Description of the issue.

To ensure conformance of `@stdlib/math/base/special/*` functions with [IEEE 754-2019](http://www.dsc.ufcg.edu.br/~cnum/modulos/Modulo2/IEEE754_2008.pdf), we should explicitly include compliance tests in the various test suites of the mathematical functions (e.g., `pow`, `exp`, etc) present in the standard. The IEEE 754 [standard](http://www.dsc.ufcg.edu.br/~cnum/modulos/Modulo2/IEEE754_2008.pdf) explicitly states behavior for various edge cases for each mathematical function. By including these tests, we can ensure that the underlying implementations, should they change, always remain IEEE 754 compliant.

## Related Issues

> Does this issue have any related issues?

None.

## Questions

> Any questions for reviewers?

No.

## Other

> Any other information relevant to this issue? This may include screenshots, references, stack traces, sample output, and/or implementation notes.

No.

[code-of-conduct]: https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md

贡献指南

打开贡献指南

调研方向

Start by reading the test suites for functions under @stdlib/math/base/special/*, using pow and exp as examples, and consult the linked IEEE 754-2019 standard for required edge-case behavior. Add explicit compliance tests across the relevant mathematical functions and run their test suites to confirm the implementations remain compliant.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
testing-qa
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。