import { TwoF64, f64 } from "./common.js"; //#region src/base/compare.d.ts /** * Return a boolean indicating whether `x` is equal to `y`. */ export declare function eq21(x: TwoF64, y: f64): boolean; /** * Return a boolean indicating whether `x` is equal to `y`. */ export declare function eq22(x: TwoF64, y: TwoF64): boolean; /** * `x < y` — Return a boolean indicating whether `x` is less than `y`. */ export declare function lt12(x: f64, y: TwoF64): boolean; /** * `x < y` — Return a boolean indicating whether `x` is less than `y`. */ export declare function lt21(x: TwoF64, y: f64): boolean; /** * `x < y` — Return a boolean indicating whether `x` is less than `y`. */ export declare function lt22(x: TwoF64, y: TwoF64): boolean; /** * `x ≤ y` — Return a boolean indicating whether `x` is less than or equal to `y`. */ export declare function le12(x: f64, y: TwoF64): boolean; /** * `x ≤ y` — Return a boolean indicating whether `x` is less than or equal to `y`. */ export declare function le21(x: TwoF64, y: f64): boolean; /** * `x ≤ y` — Return a boolean indicating whether `x` is less than or equal to `y`. */ export declare function le22(x: TwoF64, y: TwoF64): boolean; /** * `x > y` — Return a boolean indicating whether `x` is greater than `y`. */ export declare function gt12(x: f64, y: TwoF64): boolean; /** * `x > y` — Return a boolean indicating whether `x` is greater than `y`. */ export declare function gt21(x: TwoF64, y: f64): boolean; /** * `x > y` — Return a boolean indicating whether `x` is greater than `y`. */ export declare function gt22(x: TwoF64, y: TwoF64): boolean; /** * `x ≥ y` — Return a boolean indicating whether `x` is greater than or equal to `y`. */ export declare function ge12(x: f64, y: TwoF64): boolean; /** * `x ≥ y` — Return a boolean indicating whether `x` is greater than or equal to `y`. */ export declare function ge21(x: TwoF64, y: f64): boolean; /** * `x ≥ y` — Return a boolean indicating whether `x` is greater than or equal to `y`. */ export declare function ge22(x: TwoF64, y: TwoF64): boolean; /** * Return a boolean indicating whether `x` is equal to `0`. */ export declare function isZero(x: TwoF64): boolean; /** * Return a boolean indicating whether `x` is equal to `1`. */ export declare function isOne(x: TwoF64): boolean; /** * Return a boolean indicating whether `x` represents a finite number. */ export declare function isFinite(x: TwoF64): boolean; /** * Return a boolean indicating whether `x` represents an integer. */ export declare function isInteger(x: TwoF64): boolean; /** * Return a boolean indicating whether `x` represents a safe f64 integer (ie. * can be converted to a float64 number without loosing precision). */ export declare function isSafeInteger(x: TwoF64): boolean; /** * Return a boolean indicating whether `x` is a safe twofloat integer (ie. such * that `x` and `x ± 1` are integers that can be represented exactly using * extended precision). */ export declare function isSafeTwoInteger(x: TwoF64): boolean; /** * Return a boolean indicating whether `x` should be considered as `NaN2` (not a * number), that is, `true` if `xₕᵢ + xₗₒ` evaluates to `NaN`, `false` otherwise. * * The exception to this rule is with infinite `x`: because `normalize(INF)` * returns `[Infinity, NaN]` we consider infinite any twofloat number having an * infinite hi part, although `Infinity + NaN` evaluates to `NaN`. */ export declare function isNaN2(x: TwoF64): boolean; /** * Return a boolean indicating whether `x` represents ±Infinity, that is, any * twofloat number having an infinite hi part, including `[Infinity, NaN]` (the * reason for this is that `normalize(...INF)` returns `[Infinity, NaN]`). */ export declare function isInfinite(x: TwoF64): boolean; /** * Return a boolean indicating whether `x` is equal to `y`. */ export declare function eq(x: f64 | TwoF64, y: f64 | TwoF64): boolean; /** * `x < y` — Return a boolean indicating whether `x` is less than `y`. */ export declare function lt(x: f64 | TwoF64, y: f64 | TwoF64): boolean; /** * `x ≤ y` — Return a boolean indicating whether `x` is less than or equal to `y`. */ export declare function le(x: f64 | TwoF64, y: f64 | TwoF64): boolean; /** * `x > y` — Return a boolean indicating whether `x` is greater than `y`. */ export declare function gt(x: f64 | TwoF64, y: f64 | TwoF64): boolean; /** * `x ≥ y` — Return a boolean indicating whether `x` is greater than or equal to `y`. */ export declare function ge(x: f64 | TwoF64, y: f64 | TwoF64): boolean; //#endregion