Skip to content

HalfFloat

Methods

fromHalf

Convert a half float representation to a number

ArgumentTypeRequiredDescription
inputnumberYes

toHalf

Convert a number to half float representation

ArgumentTypeRequiredDescription
inputnumberYes