Home
last modified time | relevance | path

Searched refs:_NaN (Results 1 – 25 of 113) sorted by relevance

12345

/dports/editors/micro/micro-2.0.10/vendor/github.com/robertkrimen/otto/
H A Dmath_test.go8 var _NaN = math.NaN() var
23 test(`Math.abs(NaN)`, _NaN)
34 test(`Math.abs()`, _NaN)
42 test(`Math.acos(NaN)`, _NaN)
43 test(`Math.acos(2)`, _NaN)
44 test(`Math.acos(-2)`, _NaN)
55 test(`Math.asin(NaN)`, _NaN)
56 test(`Math.asin(2)`, _NaN)
57 test(`Math.asin(-2)`, _NaN)
69 test(`Math.atan(NaN)`, _NaN)
[all …]
H A Dglobal_test.go211 test(`parseInt("Xyzzy")`, _NaN)
236 test(`parseFloat("Xyzzy")`, _NaN)
242 test(`parseFloat("infinity")`, _NaN)
H A Darray_test.go374 var _NaN = NaN;
375 …new Array("NaN", undefined, 0, false, null, {toString:function(){return NaN}}, "false", _NaN, NaN);
413 var _NaN = NaN;
414 …new Array("NaN", undefined, 0, false, null, {toString:function(){return NaN}}, "false", _NaN, NaN);
/dports/devel/libslang2/slang-2.3.2/src/test/
H A Dnaninf.sl10 if (0 == isnan (_NaN)) failed ("isnan (_NaN)");
11 if (0 == isnan (-_NaN)) failed ("isnan (-_NaN)");
12 if (isinf (_NaN)) failed ("isinf(_NaN)");
13 if (isinf (-_NaN)) failed ("isinf(-_NaN)");
62 test_sscanf (1, "Nany", "%lf", _NaN, NULL);
63 test_sscanf (2, "NanInf", "%lf%lf", _NaN, _Inf);
64 test_sscanf (2, "Nan -Inf", "%lf %lf", _NaN, -_Inf);
65 test_sscanf (2, "Nan(xxx) -Inf", "%lf %lf", _NaN, -_Inf);
66 test_sscanf (2, "Nan() -Inf", "%lf %lf", _NaN, -_Inf);
67 test_sscanf (1, "Nan( -Inf", "%lf %lf", _NaN, -_Inf);
[all …]
H A Dmath.sl284 if (feqs (_NaN,_NaN,0.1, 1.0))
285 failed ("feqs (_NaN,_NaN)");
287 if (not fneqs (_NaN,_NaN,0.1, 1.0))
288 failed ("fneqs (_NaN,_NaN)");
290 if (fgteqs (_NaN,_NaN,0.1, 1.0))
291 failed ("fgteqs (_NaN,_NaN)");
293 if (flteqs (_NaN,_NaN,0.1, 1.0))
294 failed ("flteqs (_NaN,_NaN)");
412 ifnot (isnan (_NaN+2i)) failed ("isnan complex");
413 ifnot (isnan (_NaN*2i)) failed ("isnan complex");
H A Dsscanf.sl299 test_2weird ("-nan:4", "%f:%d", _NaN, 4);
300 test_2weird ("-nan():4", "%f:%d", _NaN, 4);
301 test_2weird ("-nan(here):4", "%f:%d", _NaN, 4);
H A Darray.sl825 A = [1.0:10]; A[0] = _NaN;
830 A = [1.0:10]; A[-1] = _NaN;
835 A = [1.0:10]; A[3] = _NaN;
863 if ((_min(_NaN, 1) != 1) or (_min(1,_NaN) != 1))
865 if ((_max(_NaN, 1) != 1) or (_max(1,_NaN) != 1))
1365 test_all_1 ("[1.0,_NaN]", 1);
1366 test_any_1 ("[1.0,_NaN]", 1);
1367 test_any_1 ("[_NaN]", 0);
1368 test_all_1 ("[_NaN]", 1);
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/dop251/goja/
H A Dbuiltin_date.go79 return _NaN
91 return _NaN
242 return _NaN
254 return _NaN
266 return _NaN
278 return _NaN
290 return _NaN
302 return _NaN
314 return _NaN
326 return _NaN
[all …]
H A Dbuiltin_math.go99 return _NaN
147 return _NaN
152 return _NaN
166 return _NaN
171 return _NaN
206 return _NaN
H A Dmap_test.go19 testMapHashVal(_NaN, _NaN, true, t)
H A Dbuiltin_global.go53 return _NaN
332 o._putProp("NaN", _NaN, false, false, false)
471 return _NaN, err
H A Ddate.go123 return _NaN
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/dop251/goja/
H A Dbuiltin_date.go79 return _NaN
91 return _NaN
242 return _NaN
254 return _NaN
266 return _NaN
278 return _NaN
290 return _NaN
302 return _NaN
314 return _NaN
326 return _NaN
[all …]
H A Dbuiltin_math.go99 return _NaN
147 return _NaN
152 return _NaN
166 return _NaN
171 return _NaN
206 return _NaN
H A Dmap_test.go19 testMapHashVal(_NaN, _NaN, true, t)
H A Dbuiltin_global.go53 return _NaN
332 o._putProp("NaN", _NaN, false, false, false)
471 return _NaN, err
H A Ddate.go152 return _NaN
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/dop251/goja/
H A Dbuiltin_date.go120 return _NaN
262 return _NaN
275 return _NaN
288 return _NaN
301 return _NaN
314 return _NaN
327 return _NaN
340 return _NaN
353 return _NaN
366 return _NaN
[all …]
H A Dbuiltin_math.go57 return _NaN
62 return _NaN
76 return _NaN
81 return _NaN
116 return _NaN
H A Dbuiltin_global.go50 return _NaN
238 o._putProp("NaN", _NaN, false, false, false)
377 return _NaN, err
H A Dbuiltin_number.go148 o._putProp("NaN", _NaN, false, false, false)
/dports/devel/libslang2/slang-2.3.2/modules/test/
H A Dtest_hist.sl313 foreach xgrid ({[_NaN], [0,_NaN], [_NaN,0], [2,1], [1,2,-1]})
335 foreach ygrid ({[_NaN], [0,_NaN], [_NaN,0], [2,1], [1,2,-1]})
346 foreach xgrid ({[_NaN], [0,_NaN], [_NaN,0], [2,1], [1,2,-1]})
/dports/devel/libslang2/slang-2.3.2/modules/
H A Dcsv.sl148 snan=\"\", inan=0, lnan=0L, fnan=_NaN, dnan=_NaN (defaults for empty fields),\n\
165 variable dnan = qualifier ("dnan", _NaN);
166 variable fnan = qualifier ("fnan", typecast(_NaN,Float_Type));
628 snan=\"\", inan=0, lnan=0L, fnan=_NaN, dnan=_NaN (defaults for empty fields),\n\
/dports/graphics/opencv/opencv-4.5.3/modules/core/perf/
H A Dperf_cvround.cpp52 DECL_ROUND_TEST(_NaN,cvIsNaN, ? 1 : 2)
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/System/
H A DNumberFormatter.cs101 private bool _NaN; field in System.NumberFormatter
318 _NaN = _infinity = false; in Init()
443 _NaN = m != 0; in Init()
826 if (inst._NaN) in NumberToString()
847 if (inst._NaN) in NumberToString()

12345