Registry / utility / x448-float16

x448-float16

JSON →
library0.8.4gogounverified

Package float16 provides IEEE 754 half-precision floating-point types and conversions.

go get github.com/x448/float16
INSTALL
IMPORT
SIG · X448-FLOAT16
X
x448-float16
utilitygov0.8.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

float16
github.com/x448/float16

Convert float32 to float16 and back

package main import ( "fmt" "github.com/x448/float16" ) func main() { f := float16.Fromfloat32(3.14) fmt.Println(f.Float32()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
x448-float16 — go get x448-float16 · libregistry