import { TwoF64, f64, int } from "../base/common.js"; import { _linpow_1, _linpow_2, _logpow_1, _logpow_2, _logpowltr, cube_1, cube_2, exp_1, exp_2, expm1_1, expm1_2, powint_1, powint_2, square_1, square_2 } from "./exp-impl.js"; //#region src/math/exp.d.ts /** * Compute `xᵖ`, `x` raised to the power of `p`, using extended-precision * arithmetic. * * @param x A `f64` number representing the base * @param p A `f64` number representing the exponent * @returns The {@link TwoF64|`TwoF64`} representation of `xᵖ` */ export declare function pow_11(x: f64, p: f64): TwoF64; /** * Compute `xᵖ`, `x` raised to the power of `p`, using extended-precision * arithmetic. * * @param x A `f64` number representing the base * @param p A `TwoF64` number representing the exponent * @returns The {@link TwoF64|`TwoF64`} representation of `xᵖ` */ export declare function pow_12(x: f64, p: TwoF64): TwoF64; /** * Compute `xᵖ`, `x` raised to the power of `p`, using extended-precision * arithmetic. * * @param x A `TwoF64` number representing the base * @param p A `f64` number representing the exponent * @returns The {@link TwoF64|`TwoF64`} representation of `xᵖ` */ export declare function pow_21(x: TwoF64, p: f64): TwoF64; /** * Compute `xᵖ`, `x` raised to the power of `p`, using extended-precision * arithmetic. * * @param x A `TwoF64` number representing the base * @param p A `TwoF64` number representing the exponent * @returns The {@link TwoF64|`TwoF64`} representation of `xᵖ` */ export declare function pow_22(x: TwoF64, p: TwoF64): TwoF64; /** * Compute `x²`, the square of `x`, using extended-precision arithmetic. * * @param x A `f64` or `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of `x²` */ export declare function square(x: f64 | TwoF64): TwoF64; /** * Compute `x³`, the cube of `x`, using extended-precision arithmetic. * * @param x A `f64` or `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of `x³` */ export declare function cube(x: f64 | TwoF64): TwoF64; /** * Integer power of `x` - Compute `xⁿ` using extended-precision arithmetic. * `n` must be an integer. * * @param x A `f64` or `TwoF64` number representing the base * @param n A `f64` integer representing the exponent * @returns The {@link TwoF64|`TwoF64`} representation of `xⁿ` */ export declare function powint(x: f64 | TwoF64, n: int): TwoF64; /** * Compute `xᵖ`, `x` raised to the power of `p`, using extended-precision * arithmetic. * * @param x A `f64` or `TwoF64` number representing the base * @param p A `f64` or `TwoF64` number representing the exponent * @returns The {@link TwoF64|`TwoF64`} representation of `xᵖ` */ export declare function pow(x: f64 | TwoF64, p: f64 | TwoF64): TwoF64; /** * Compute `eˣ`, the natural base exponential of `x`, using extended-precision * arithmetic. * * @param x A `f64` or `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of `eˣ` */ export declare function exp(x: f64 | TwoF64): TwoF64; /** * Compute `eˣ - 1`, the natural base exponential of `x` subtracted by `1`, * using extended-precision arithmetic. * * @param x A `f64` or `TwoF64` number * @returns The {@link TwoF64|`TwoF64`} representation of `eˣ - 1` */ export declare function expm1(x: f64 | TwoF64): TwoF64; //#endregion export { _linpow_1, _linpow_2, _logpow_1, _logpow_2, _logpowltr, cube_1, cube_2, exp_1, exp_2, expm1_1, expm1_2, powint_1, powint_2, square_1, square_2 };