import { TwoF64 } from "../base/common.js"; //#region src/math/basic.d.ts /** * Return the absolute value of `x`. * * @param x A `f64` or `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of `|x|` */ export declare function abs(x: TwoF64): TwoF64; /** * Return the negative of `x`. * * @param x A `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of `-x` */ export declare function neg(x: TwoF64): TwoF64; /** * Return the sign of `x`, that is, `[, 0]` where `` is either `-1`, * `-0`, `0` or `1` (or return `NaN2` if `x` is not a number). * * @param x A `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of the sign of `x` */ export declare function sign(x: TwoF64): TwoF64; /** * Return the integral part of `x`, removing any fractional digits. * * @param x A `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of the integer part of `x` */ export declare function trunc(x: TwoF64): TwoF64; /** * Return `⌊x⌋`, the greatest integer less than or equal to `x`. * * @param x A `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of `⌊x⌋` */ export declare function floor(x: TwoF64): TwoF64; /** * Return `⌈x⌉`, the least integer greater than or equal to `x`. * * @param x A `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of `⌈x⌉` */ export declare function ceil(x: TwoF64): TwoF64; /** * Return `⌊x⌉`, the nearest integer to `x`, with ties (fractional values of * `0.5`) being rounded toward positive infinity. * * @param x A `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of `⌊x⌉` */ export declare function round(x: TwoF64): TwoF64; /** * Return the maximum of the given arguments (at least one must be provided). * * @param arg1 A `TwoF64` number * @param args More `TwoF64` numbers * @returns The maximum {@link TwoF64|`TwoF64`} number */ export declare function max(arg1: TwoF64, ...args: TwoF64[]): TwoF64; /** * Return the maximum of the given arguments (at least one must be provided). * * @param args One or more `TwoF64` numbers * @returns The maximum {@link TwoF64|`TwoF64`} number */ export declare function max(...args: TwoF64[]): TwoF64; /** * Return the minimum of the given arguments (at least one must be provided). * * @param arg1 A `TwoF64` number * @param args More `TwoF64` numbers * @returns The minimum {@link TwoF64|`TwoF64`} number */ export declare function min(arg1: TwoF64, ...args: TwoF64[]): TwoF64; export declare function min(...args: TwoF64[]): TwoF64; //#endregion