import { TwoF64, f64 } from "../base/common.js"; //#region src/math/mod.d.ts /** * Return the remainder left over after integer division of `x` by `π`, with the * quotient rounded towards zero (cf. `%` operator). Mathematically, the value * `r` such that `r = x - a*π` where `a = trunc(x/π)` * * @param x A `f64` number * @returns The {@link TwoF64|`TwoF64`} representation of `r` */ export declare function rempi_1(x: f64): TwoF64; /** * Return the remainder left over after integer division of `x` by `π`, with the * quotient rounded towards zero (cf. `%` operator). Mathematically, the value * `r` such that `r = x - a*π` where `a = trunc(x/π)` * * @param x A `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of `r` */ export declare function rempi_2(x: TwoF64): TwoF64; /** * Return the remainder left over after integer division of `x` by `2π`, with * the quotient rounded towards zero (cf. `%` operator). Mathematically, the * value `r` such that `r = x - a*2π` where `a = trunc(x/2π)`. * * @param x A `f64` number * @returns The {@link TwoF64|`TwoF64`} representation of `r` */ export declare function rem2pi_1(x: f64): TwoF64; /** * Return the remainder left over after integer division of `x` by `2π`, with * the quotient rounded towards zero (cf. `%` operator). Mathematically, the * value `r` such that `r = x - a*2π` where `a = trunc(x/2π)`. * * @param x A `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of `r` */ export declare function rem2pi_2(x: TwoF64): TwoF64; /** * Return the remainder left over after integer division of `x` by `π`, with the * quotient rounded towards zero (cf. `%` operator). Mathematically, the value * `r` such that `r = x - a*π` where `a = trunc(x/π)` * * @param x A `f64` or `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of `r` */ export declare function rempi(x: f64 | TwoF64): TwoF64; /** * Return the remainder left over after integer division of `x` by `2π`, with * the quotient rounded towards zero (cf. `%` operator). Mathematically, the * value `r` such that `r = x - a*2π` where `a = trunc(x/2π)`. * * @param x A `f64` or `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of `r` */ export declare function rem2pi(x: f64 | TwoF64): TwoF64; //#endregion