/** * Returns the integer nearest to a given number. * Returns `Infinity` if the given value is `Infinity`. * Returns `-Infinity` if the given value is `-Infinity`. * * @throws Exception - if the given value is NaN. * * @since v0.11.0 */ export declare function rounded(value: number): number; /** * Returns the largest integer less than or equal to a given number. * Returns `Infinity` if the given value is `Infinity`. * Returns `-Infinity` if the given value is `-Infinity`. * * @throws Exception - if the given value is NaN. * * @since v0.11.0 */ export declare function roundedDown(value: number): number; /** * Returns the smallest integer greater than or equal to a given number. * Returns `Infinity` if the given value is `Infinity`. * Returns `-Infinity` if the given value is `-Infinity`. * * @throws Exception - if the given value is NaN. * * @since v0.11.0 */ export declare function roundedUp(value: number): number; /** * Returns the nearest 32-bit single precision float representation of a number. * * @throws Exception - if the given value is NaN. * * @since v0.11.0 */ export declare function roundedToFloat32(value: number): number; /** * Returns a floating-point number truncated to its integer part. * * @throws Exception - if the given value is NaN. * * @since v0.11.0 */ export declare function truncated(value: number): number;