fround#

static vectorious.fround(x)#

Returns the nearest single precision float representation of each element of x.

Arguments:
Returns:

NDArray

Examples:

import { fround } from 'vectorious/core/fround';

fround([-5.05, 5.05]); // => array([-5.050000190734863, 5.050000190734863])