decord/source/13260_ToIntlMathematicalValue.js

47 lines
1.5 KiB
JavaScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 13260
// Function ID: 102018
2026-07-20 16:05:17 +00:00
// Name: ToIntlMathematicalValue
2026-07-25 08:10:48 +00:00
// Dependencies: [1257, 13202, 13201]
2026-07-20 16:05:17 +00:00
// Exports: ToIntlMathematicalValue
2026-07-25 08:10:48 +00:00
// Module 13260 (ToIntlMathematicalValue)
2026-07-23 10:11:24 +00:00
import createExporter from "createExporter";
import digitsToString from "digitsToString";
2026-07-20 16:05:17 +00:00
export const ToIntlMathematicalValue = function ToIntlMathematicalValue(arg0) {
2026-07-25 08:10:48 +00:00
const ToPrimitiveResult = require(13201) /* __exportStarResult32 */.ToPrimitive(arg0, "number");
2026-07-20 16:05:17 +00:00
if ("bigint" === typeof ToPrimitiveResult) {
2026-07-23 10:11:24 +00:00
let _default6 = digitsToString.default;
2026-07-20 16:05:17 +00:00
const prototype6 = _default6.prototype;
_default6 = new _default6(tmp2);
return _default6;
} else if (undefined === tmp2) {
2026-07-23 10:11:24 +00:00
let _default5 = digitsToString.default;
2026-07-20 16:05:17 +00:00
const _NaN = NaN;
const prototype5 = _default5.prototype;
_default5 = new _default5(NaN);
return _default5;
} else if (true === tmp2) {
2026-07-23 10:11:24 +00:00
let _default4 = digitsToString.default;
2026-07-20 16:05:17 +00:00
const prototype4 = _default4.prototype;
_default4 = new _default4(1);
return _default4;
} else if (false === tmp2) {
2026-07-23 10:11:24 +00:00
let _default3 = digitsToString.default;
2026-07-20 16:05:17 +00:00
const prototype3 = _default3.prototype;
_default3 = new _default3(0);
return _default3;
} else if (null === tmp2) {
2026-07-23 10:11:24 +00:00
let _default2 = digitsToString.default;
2026-07-20 16:05:17 +00:00
const prototype2 = _default2.prototype;
_default2 = new _default2(0);
return _default2;
} else {
2026-07-23 10:11:24 +00:00
let _default = digitsToString.default;
2026-07-20 16:05:17 +00:00
const prototype = _default.prototype;
_default = new _default(tmp2);
return _default;
}
};