feat: add `assert/has-float16array-support`
Progresses #7273
Description
What is the purpose of this pull request?
This pull request:
- Adds assert/has-float16array-support
Related Issues
Does this pull request have any related issues?
This pull request:
- resolves #7273
Questions
Any questions for reviewers of this pull request?
No.
Other
Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.
This is the second PR (apart from the first PR: assert/is-float16array) that adds support for float16 arrays, requiring the creation of an array/float16. The first PR ( #7273 ) should be merged first, as this PR requires some functionality from the previous PR.
Checklist
Please ensure the following tasks are completed before submitting this pull request.
- [x] Read, understood, and followed the contributing guidelines.
@stdlib-js/reviewers
Hello @Planeshifter and @kgryte sir, This is the second PR that requires the first PR (#7273) to be merged, as some functionalities are taken from it. Almost every code file is running perfectly after skipping test cases requiring float16. Please do review this PR!
/stdlib lint-autofix
/stdlib merge
Coverage Report
| Package | Statements | Branches | Functions | Lines |
|---|---|---|---|---|
| assert/has-float16array-support | $\color{green}133/133$ $\color{green}+100.00\%$ |
$\color{red}11/12$ $\color{green}+91.67\%$ |
$\color{green}1/1$ $\color{green}+100.00\%$ |
$\color{green}133/133$ $\color{green}+100.00\%$ |
The above coverage report was generated for the changes in this PR.
/stdlib merge