Index: src/third_party/fdlibm/fdlibm.js |
diff --git a/src/third_party/fdlibm/fdlibm.js b/src/third_party/fdlibm/fdlibm.js |
index a5e789f38a59d56083c82338aca4cd59bbb7aee0..6a64c6ca52697118fdb2fa0b6121802d03173d0e 100644 |
--- a/src/third_party/fdlibm/fdlibm.js |
+++ b/src/third_party/fdlibm/fdlibm.js |
@@ -28,7 +28,6 @@ |
// ------------------------------------------------------------------- |
// Imports |
-var GlobalFloat64Array = global.Float64Array; |
var GlobalMath = global.Math; |
var MathAbs; |
var MathExp; |
@@ -40,9 +39,9 @@ |
MathExp = from.MathExp; |
}); |
-utils.CreateDoubleResultArray = function(global) { |
- rempio2result = new GlobalFloat64Array(2); |
-}; |
+utils.SetupTypedArray(function(arg) { |
+ rempio2result = arg; |
+}); |
// ------------------------------------------------------------------- |