Package Exports
- webassembly-floating-point-hex-parser
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (webassembly-floating-point-hex-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Parser function for floating point hexadecimals
A JavaScript function to parse floating point hexadecimals as defined by the WebAssembly specification.
Usage
import parseHexFloat from 'webassembly-floating-point-hex-parser'
parseHexFloat('0x1p-1') // 0.5
parseHexFloat('0x1.921fb54442d18p+2') // 6.283185307179586