Skip to main content
Module

x/float16/index.d.ts>f16round

Stage 3 IEEE 754 half-precision floating-point ponyfill
Go to Latest
function f16round
import { f16round } from "https://deno.land/x/float16@v3.8.3/index.d.ts";

Returns the nearest half-precision float representation of a number.

Parameters

x: number

A numeric expression.

Returns

number