mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Enable Math.sumPrecise (#20569)
This commit is contained in:
@@ -295,6 +295,7 @@ extern "C" void JSCInitialize(const char* envp[], size_t envc, void (*onCrash)(c
|
||||
JSC::Options::useJITCage() = false;
|
||||
JSC::Options::useShadowRealm() = true;
|
||||
JSC::Options::useV8DateParser() = true;
|
||||
JSC::Options::useMathSumPreciseMethod() = true;
|
||||
JSC::Options::evalMode() = evalMode;
|
||||
JSC::Options::heapGrowthSteepnessFactor() = 1.0;
|
||||
JSC::Options::heapGrowthMaxIncrease() = 2.0;
|
||||
|
||||
@@ -30,6 +30,7 @@ test("exists", () => {
|
||||
expect(typeof PerformanceResourceTiming !== "undefined").toBe(true);
|
||||
expect(typeof PerformanceServerTiming !== "undefined").toBe(true);
|
||||
expect(typeof PerformanceTiming !== "undefined").toBe(true);
|
||||
expect(typeof Math.sumPrecise !== "undefined").toBe(true);
|
||||
});
|
||||
|
||||
const globalSetters = [
|
||||
|
||||
Reference in New Issue
Block a user