Upload Kmake

This commit is contained in:
Gorochu
2026-05-26 23:36:42 -07:00
parent ba051b2f74
commit 555ec72358
41615 changed files with 13344630 additions and 1 deletions

View File

@ -0,0 +1,25 @@
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This is intended for permanent JS behavior changes for mocking out
// non-deterministic behavior. For temporary suppressions, please refer to
// v8_suppressions.js.
// This mocks only architecture specific differences. Refer to v8_mocks.js
// for the general case.
// This file is loaded before each correctness test cases and won't get
// minimized.
// Mock Math.pow due to precision differences between 32 and 64 bits.
// https://crbug.com/380147861
// https://crbug.com/380322452
// https://crbug.com/381129314
(function() {
const origMathPow = Math.pow;
const origNumber = Number;
const origToExponential = Number.prototype.toExponential;
Math.pow = function(a, b) {
let result = origMathPow(a, b);
return origNumber(origToExponential.call(result, 11));
}
})();