"use strict";
/* Socket Lib - Built with rolldown */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const require_primordials_uncurry = require('./uncurry.js');
const require_smol_primordial = require('../smol/primordial.js');

//#region src/primordials/number.ts
/**
* @file Safe references to `Number`, its constants, predicates, and parse
*   helpers. Predicates prefer the smol fast-path (`node:smol-primordial`);
*   static `parseFloat` / `parseInt` use the FastOneByteString-typed bindings
*   for ASCII inputs and fall back to stock `Number.parse*` otherwise.
*/
const _smolPrimordial = /* @__PURE__ */ require_smol_primordial.getSmolPrimordial();
const NumberCtor = Number;
const NumberEPSILON = Number.EPSILON;
const NumberMAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER;
const NumberMAX_VALUE = Number.MAX_VALUE;
const NumberMIN_SAFE_INTEGER = Number.MIN_SAFE_INTEGER;
const NumberMIN_VALUE = Number.MIN_VALUE;
const NumberNEGATIVE_INFINITY = Number.NEGATIVE_INFINITY;
const NumberPOSITIVE_INFINITY = Number.POSITIVE_INFINITY;
const NumberIsFinite = _smolPrimordial?.numberIsFinite ?? Number.isFinite;
const NumberIsInteger = _smolPrimordial?.numberIsInteger ?? Number.isInteger;
const NumberIsNaN = _smolPrimordial?.numberIsNaN ?? Number.isNaN;
const NumberIsSafeInteger = _smolPrimordial?.numberIsSafeInteger ?? Number.isSafeInteger;
const NumberParseFloat = _smolPrimordial?.numberParseFloat ?? Number.parseFloat;
const _smolParseInt10 = _smolPrimordial?.numberParseInt10;
/* c8 ignore start */
const NumberParseInt = _smolParseInt10 ? (s, radix) => radix === void 0 || radix === 10 ? _smolParseInt10(s) : Number.parseInt(s, radix) : Number.parseInt;
/* c8 ignore stop */
const NumberPrototypeToExponential = require_primordials_uncurry.uncurryThis(Number.prototype.toExponential);
const NumberPrototypeToFixed = require_primordials_uncurry.uncurryThis(Number.prototype.toFixed);
const NumberPrototypeToPrecision = require_primordials_uncurry.uncurryThis(Number.prototype.toPrecision);
const NumberPrototypeToString = require_primordials_uncurry.uncurryThis(Number.prototype.toString);
const NumberPrototypeValueOf = require_primordials_uncurry.uncurryThis(Number.prototype.valueOf);

//#endregion
exports.NumberCtor = NumberCtor;
exports.NumberEPSILON = NumberEPSILON;
exports.NumberIsFinite = NumberIsFinite;
exports.NumberIsInteger = NumberIsInteger;
exports.NumberIsNaN = NumberIsNaN;
exports.NumberIsSafeInteger = NumberIsSafeInteger;
exports.NumberMAX_SAFE_INTEGER = NumberMAX_SAFE_INTEGER;
exports.NumberMAX_VALUE = NumberMAX_VALUE;
exports.NumberMIN_SAFE_INTEGER = NumberMIN_SAFE_INTEGER;
exports.NumberMIN_VALUE = NumberMIN_VALUE;
exports.NumberNEGATIVE_INFINITY = NumberNEGATIVE_INFINITY;
exports.NumberPOSITIVE_INFINITY = NumberPOSITIVE_INFINITY;
exports.NumberParseFloat = NumberParseFloat;
exports.NumberParseInt = NumberParseInt;
exports.NumberPrototypeToExponential = NumberPrototypeToExponential;
exports.NumberPrototypeToFixed = NumberPrototypeToFixed;
exports.NumberPrototypeToPrecision = NumberPrototypeToPrecision;
exports.NumberPrototypeToString = NumberPrototypeToString;
exports.NumberPrototypeValueOf = NumberPrototypeValueOf;