← Home

@stdlib/number-float32-base-to-float16

Convert a single-precision floating-point number to the nearest half-precision floating-point number.

2
Versions
Apache-2.0
License
No
Install Scripts
Missing
Provenance

Supply chain provenance

Status for the latest visible version.

No SLSA provenance npm registry signatures gitHead linked

Without SLSA provenance there is no cryptographic link between this tarball and the public source — the axios compromise (March 2026) relied on exactly this gap.

Maintainers

stdlib-botkgryteplaneshifterrreusser

Keywords

stdlibstdtypesbaseutilitiesutilityutilsutiltypestypecastconvertfloat16singlefloattobitsnumber

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
phantom-deps phantom-dep:@stdlib/number-float16-ctor AI (phantom-deps): stdlib modular pattern; declared deps used indirectly via manifests/C includes, not direct JS imports. ai
phantom-deps phantom-dep:@stdlib/utils-library-manifest AI (phantom-deps): stdlib modular pattern; library manifest dep is structural, not a direct JS import. ai
phantom-deps phantom-dep:@stdlib/constants-float32-sign-mask AI (phantom-deps): stdlib modular pattern; stable false positive for this package family. ai
phantom-deps phantom-dep:@stdlib/number-float32-base-exponent AI (phantom-deps): stdlib modular pattern; stable false positive for this package family. ai
phantom-deps phantom-dep:@stdlib/constants-float32-exponent-mask AI (phantom-deps): stdlib modular pattern; stable false positive for this package family. ai
phantom-deps phantom-dep:@stdlib/constants-float32-significand-mask AI (phantom-deps): stdlib modular pattern; stable false positive for this package family. ai
phantom-deps phantom-dep:@stdlib/constants-float32-num-significand-bits AI (phantom-deps): stdlib modular pattern; stable false positive for this package family. ai

Versions (showing 2 of 2)

Version Deps Published
0.1.1 16 / 0
0.1.0 16 / 0

v0.1.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.