package ieee754

import "github.com/tetratelabs/wazero/internal/ieee754"

Index

Functions

func DecodeFloat32

func DecodeFloat32(buf []byte) (float32, error)

DecodeFloat32 decodes a float32 in IEEE 754 binary representation. See https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#floating-point%E2%91%A2

func DecodeFloat64

func DecodeFloat64(buf []byte) (float64, error)

DecodeFloat64 decodes a float64 in IEEE 754 binary representation. See https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#floating-point%E2%91%A2

Source Files

ieee754.go

Version
v1.9.0 (latest)
Published
Feb 18, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
4 days ago

Tools for package owners.