@@ -14046,6 +14046,7 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
1404614046
1404714047// Google closure compiler cannot handle Clazz.new or Clazz.super
1404814048
14049+ // BH 2023.01.22 fix for Double.doubleToRawLongBits missing and Float.floatToIntBits failing on NaN
1404914050// BH 2023.01.15 fix for int[2][3][] not initializing properly
1405014051// BH 2022.12.03 fix for Double.isInfinite should not be true for NaN
1405114052// BH 2022.12.03 fix for Double.parseDouble("") and new Double(NaN) should be NaN, not 0
@@ -15317,7 +15318,7 @@ var newTypedA = function(baseClass, args, nBits, ndims, isClone) {
1531715318 var arr = new Int32Array(dim);
1531815319 break;
1531915320 case 64:
15320- var arr = (paramType != "JA" ? new Float64Array(dim) : typeof dim == "number" ? new Array(dim) : dim);
15321+ var arr = (paramType != "JA" ? new Float64Array(dim) : typeof dim == "number" ? new Array(dim).fill(0) : dim);
1532115322 break;
1532215323 default:
1532315324 nBits = 0;
@@ -15327,8 +15328,7 @@ var newTypedA = function(baseClass, args, nBits, ndims, isClone) {
1532715328 } else {
1532815329 arr = (dim < 0 ? val : new Array(dim));
1532915330 if (dim > 0 && val != null)
15330- for (var i = dim; --i >= 0;)
15331- arr[i] = val;
15331+ arr.fill(val);
1533215332 }
1533315333 break;
1533415334 }
@@ -19433,8 +19433,6 @@ geta64 = function() {
1943319433}
1943419434
1943519435Float.floatToIntBits$F = function(f) {
19436- if (isNaN(f))
19437- return
1943819436 return Float.floatToRawIntBits$F(f);
1943919437}
1944019438
@@ -19580,7 +19578,7 @@ throw Clazz.new_(NumberFormatException.c$$S, ["Not a Number : "+s]);
1958019578return v;
1958119579}, 1);
1958219580
19583- m$(Double," doubleToLongBits$D",
19581+ m$(Double,["doubleToRawLongBits$D", " doubleToLongBits$D"] ,
1958419582function(d){
1958519583 geta64()[0] = d;
1958619584 return toLongI2(i64[0], i64[1]);
0 commit comments