Registry / utility / zeebo-float16

zeebo-float16

JSON →
library0.1.0gogounverified

A Go library for IEEE 754 half-precision floating-point numbers.

go get github.com/zeebo/float16
INSTALL
IMPORT
SIG · ZEEBO-FLOAT16
Z
zeebo-float16
utilitygov0.1.0
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/zeebo/float16

Convert a float32 to float16 and back.

package main import "github.com/zeebo/float16" func main() { f := float16.FromFloat32(3.14) println(f.Float32()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
Resources