/** * `float` represents valid javascript floating point numbers within (and tagged with) a * certain range * * @since 2.0.0 */ import { type Branded } from 'schemata-ts/brand'; /** * The smallest positive float in JavaScript. * * @since 2.0.0 * @category Model */ export type MinPositiveFloat = 5e-324; /** * The smallest positive float in JavaScript. * * @since 2.0.0 */ export declare const minPositiveFloat: MinPositiveFloat; /** * The smallest negative float in JavaScript. * * @since 2.0.0 * @category Model */ export type MinNegativeFloat = -5e-324; /** * The smallest negative float in JavaScript. * * @since 2.0.0 */ export declare const minNegativeFloat: MinNegativeFloat; /** * The largest positive float in JavaScript. * * @since 2.0.0 * @category Model */ export type MaxPositiveFloat = 1.7976931348623157e308; /** * The largest positive float in JavaScript. * * @since 2.0.0 */ export declare const maxPositiveFloat: MaxPositiveFloat; /** * The largest negative float in JavaScript. * * @since 2.0.0 * @category Model */ export type MaxNegativeFloat = -1.7976931348623157e308; /** * The largest negative float in JavaScript. * * @since 2.0.0 */ export declare const maxNegativeFloat: MaxNegativeFloat; /** * A brand for bounded floats. * * @since 2.2.1 */ export interface FloatBrand { readonly Float: unique symbol; readonly Min: Min; readonly Max: Max; } /** * Floating point branded newtype. Parameters: min, max are inclusive. * * Represents floating point numbers: * * ```math * { f | f ∈ ℝ, f >= -Number.MAX_VALUE, f <= Number.MAX_VALUE } * ``` * * @since 1.0.0 * @category Model */ export type Float = Branded>; //# sourceMappingURL=float.d.ts.map