Package
@stdlib/number-float32-base-to-float16
Convert a single-precision floating-point number to the nearest half-precision floating-point number.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 61.3k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 16
- Direct, from package.json
- Last release
- 7 months ago
- v0.1.1
- GitHub stars
- 1
- 0 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 16
No weekly download data in the snapshot.
61,307 downloads last week, 310,484 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 0.1.1, 8 Feb 20267 months ago
- First published
- -
- Last push to GitHub
- 19 Sept 20266 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 16
- Dependents on npm
- 2
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=0.10.0
- Runtimes
- -
- Unpacked size (npm)
- 47 kB
- Dependencies (16)
@stdlib/number-float16-ctor@stdlib/constants-float16-eps@stdlib/constants-float16-max@stdlib/constants-float32-eps@stdlib/constants-float32-pinf@stdlib/math-base-special-absf@stdlib/utils-library-manifest@stdlib/math-base-assert-is-nanf@stdlib/constants-float32-sign-mask@stdlib/math-base-assert-is-finitef@stdlib/number-float32-base-exponent@stdlib/number-float64-base-to-float32@stdlib/constants-float32-exponent-mask@stdlib/constants-float16-smallest-normal@stdlib/constants-float32-significand-mask@stdlib/constants-float32-num-significand-bits
npm install @stdlib/number-float32-base-to-float16- jsDelivr
https://cdn.jsdelivr.net/npm/@stdlib/number-float32-base-to-float16@0.1.1/ - unpkg
https://unpkg.com/@stdlib/number-float32-base-to-float16@0.1.1/ - esm.sh
https://esm.sh/@stdlib/number-float32-base-to-float16@0.1.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| array-last | 949.2k | - | 8 years ago | CommonJS | - |
| to-hex | 13.6k | - | 4 years ago | CommonJS | - |
| arr-flatten | 9.6m | - | 9 years ago | CommonJS | - |
Indexability: Indexed.