{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:golang/github.com/zerfoo/float16","name":"github.com/zerfoo/float16","description":"Package float16 implements the 16-bit floating point data type (IEEE 754-2008).\n\nThis implementation provides conversion between float16 and other floating-point types\n(float32 and float64) with support for various rounding modes and error handling.\n\nThe float16 type supports all IEEE 754-2008 special values:\n\nWhen converting to higher-precision types (float32/float64), subnormal float16 values\nare preserved. However, when converting back from higher-precision types to float16,\nsubnormal values may be rounded to the nearest representable normal float16 value.\nThis behavior is consistent with many hardware implementations that handle subnormals\nin a similar way for performance reasons.\n\nThe following rounding modes are supported for conversions:\n\nConversion functions with a ConversionMode parameter can return errors for:\n\nSee: http://en.wikipedia.org/wiki/Half-precision_floating-point_format","version":"v0.2.1","softwareVersion":"v0.2.1","license":"https://spdx.org/licenses/Apache-2.0","codeRepository":"https://github.com/zerfoo/float16","issueTracker":"https://github.com/zerfoo/float16/issues","url":"https://github.com/zerfoo/float16","programmingLanguage":{"@type":"ComputerLanguage","name":"Go"},"dateCreated":"2025-07-28","dateModified":"2026-03-13","datePublished":"2026-03-13","copyrightYear":2025,"downloadUrl":"https://proxy.golang.org/github.com/zerfoo/float16/@v/v0.2.1.zip","softwareHelp":{"@type":"WebSite","url":"https://pkg.go.dev/github.com/zerfoo/float16#section-documentation"},"applicationCategory":"go","runtimePlatform":"go","developmentStatus":"active","sameAs":["https://pkg.go.dev/github.com/zerfoo/float16"],"https://forgefed.org/ns#forks":1}