Registry / utility / fp16
library2021-02-21vcpkgunverified

Header-only library for conversion to/from half-precision floating point formats.

vcpkg install fp16
INSTALL
IMPORT
SIG · FP16
F
fp16
utilitycppv2021-02-21
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.

fp16.h
#include <fp16.h>

Convert float to half-precision and back.

#include <fp16.h> #include <iostream> int main() { float val = 3.14f; uint16_t half = fp16_ieee_from_fp32_value(val); float back = fp16_ieee_to_fp32_value(half); std::cout << back << std::endl; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2021-02-21latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

fp16 — pip install fp16 · libregistry