/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/main/java/org/apache/commons/math3/complex/ |
H A D | Complex.java | 100 isNaN = Double.isNaN(real) || Double.isNaN(imaginary); in Complex() 114 if (isNaN) { in abs() 153 if (isNaN || addend.isNaN) { in add() 170 if (isNaN || Double.isNaN(addend)) { in add() 192 if (isNaN) { in conjugate() 244 if (isNaN || divisor.isNaN) { in divide() 280 if (isNaN || Double.isNaN(divisor)) { in divide() 519 if (isNaN || factor.isNaN) { in multiply() 561 if (isNaN || Double.isNaN(factor)) { in multiply() 607 if (isNaN || subtrahend.isNaN) { in subtract() [all …]
|
/dports/lang/seed7/seed7/prg/ |
H A D | chkflt.sd7 | 11426 if isNaN(-Infinity) or 11427 isNaN( -1.0E37) or 11428 isNaN( -1000.0) or 11429 isNaN( -0.0) or 11430 isNaN( 0.0) or 11431 isNaN( 1000.0) or 11432 isNaN( 1.0E37) or 11433 isNaN( Infinity) or 11434 isNaN(floatExpr(-Infinity)) or 11446 if not isNaN(NaN) or [all …]
|
/dports/www/ilias6/ILIAS-6.14/Modules/Chatroom/chat/node_modules/is-nan/ |
H A D | README.md | 10 ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives. 17 Number.isNaN = require('is-nan'); 21 assert.notOk(Number.isNaN(null)); 22 assert.notOk(Number.isNaN(false)); 23 assert.notOk(Number.isNaN(true)); 24 assert.notOk(Number.isNaN(0)); 25 assert.notOk(Number.isNaN(42)); 28 assert.notOk(Number.isNaN('foo')); 30 assert.notOk(Number.isNaN([])); 31 assert.notOk(Number.isNaN({})); [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/is-nan/ |
H A D | README.md | 13 ES6-compliant shim for Number.isNaN - the global isNaN returns false positives. 20 Number.isNaN = require('is-nan'); 24 assert.notOk(Number.isNaN(null)); 25 assert.notOk(Number.isNaN(false)); 26 assert.notOk(Number.isNaN(true)); 27 assert.notOk(Number.isNaN(0)); 28 assert.notOk(Number.isNaN(42)); 31 assert.notOk(Number.isNaN('foo')); 33 assert.notOk(Number.isNaN([])); 34 assert.notOk(Number.isNaN({})); [all …]
|
/dports/www/ilias/ILIAS-5.4.25/Modules/Chatroom/chat/node_modules/is-nan/ |
H A D | README.md | 13 ES6-compliant shim for Number.isNaN - the global isNaN returns false positives. 20 Number.isNaN = require('is-nan'); 24 assert.notOk(Number.isNaN(null)); 25 assert.notOk(Number.isNaN(false)); 26 assert.notOk(Number.isNaN(true)); 27 assert.notOk(Number.isNaN(0)); 28 assert.notOk(Number.isNaN(42)); 31 assert.notOk(Number.isNaN('foo')); 33 assert.notOk(Number.isNaN([])); 34 assert.notOk(Number.isNaN({})); [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/mfbt/decimal/ |
H A D | comparison-with-nan.patch | 13 + if (isNaN() || rhs.isNaN()) 20 + if (isNaN() || rhs.isNaN()) 25 if (result.isNaN()) 32 if (result.isNaN()) 39 + if (isNaN() || rhs.isNaN()) 44 if (result.isNaN()) 51 if (result.isNaN()) 58 + if (isNaN() || rhs.isNaN()) 63 if (result.isNaN())
|
/dports/lang/spidermonkey60/firefox-60.9.0/mfbt/decimal/ |
H A D | comparison-with-nan.patch | 13 + if (isNaN() || rhs.isNaN()) 20 + if (isNaN() || rhs.isNaN()) 25 if (result.isNaN()) 32 if (result.isNaN()) 39 + if (isNaN() || rhs.isNaN()) 44 if (result.isNaN()) 51 if (result.isNaN()) 58 + if (isNaN() || rhs.isNaN()) 63 if (result.isNaN())
|
/dports/textproc/xalan-c/xalan_c-1.12/src/xalanc/PlatformSupport/ |
H A D | DoubleSupport.cpp | 76 if (isNaN(theLHS) == true || isNaN(theRHS) == true) in equal() 93 if (isNaN(theLHS) == true || isNaN(theRHS) == true) in lessThan() 110 if (isNaN(theLHS) == true || isNaN(theRHS) == true) in lessThanOrEqual() 127 if (isNaN(theLHS) == true || isNaN(theRHS) == true) in greaterThan() 144 if (isNaN(theLHS) == true || isNaN(theRHS) == true) in greaterThanOrEqual() 161 if (isNaN(theLHS) == true) in add() 182 if (isNaN(theLHS) == true) in subtract() 203 if (isNaN(theLHS) == true) in multiply() 224 if (isNaN(theLHS) == true) in divide() 260 if (isNaN(theLHS) == true) in modulus() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/mozglue/misc/decimal/ |
H A D | comparison-with-nan.patch | 13 + if (isNaN() || rhs.isNaN()) 20 + if (isNaN() || rhs.isNaN()) 25 if (result.isNaN()) 32 if (result.isNaN()) 39 + if (isNaN() || rhs.isNaN()) 44 if (result.isNaN()) 51 if (result.isNaN()) 58 + if (isNaN() || rhs.isNaN()) 63 if (result.isNaN())
|
/dports/www/firefox/firefox-99.0/mozglue/misc/decimal/ |
H A D | comparison-with-nan.patch | 13 + if (isNaN() || rhs.isNaN()) 20 + if (isNaN() || rhs.isNaN()) 25 if (result.isNaN()) 32 if (result.isNaN()) 39 + if (isNaN() || rhs.isNaN()) 44 if (result.isNaN()) 51 if (result.isNaN()) 58 + if (isNaN() || rhs.isNaN()) 63 if (result.isNaN())
|
/dports/mail/thunderbird/thunderbird-91.8.0/mozglue/misc/decimal/ |
H A D | comparison-with-nan.patch | 13 + if (isNaN() || rhs.isNaN()) 20 + if (isNaN() || rhs.isNaN()) 25 if (result.isNaN()) 32 if (result.isNaN()) 39 + if (isNaN() || rhs.isNaN()) 44 if (result.isNaN()) 51 if (result.isNaN()) 58 + if (isNaN() || rhs.isNaN()) 63 if (result.isNaN())
|
/dports/lang/spidermonkey78/firefox-78.9.0/mozglue/misc/decimal/ |
H A D | comparison-with-nan.patch | 13 + if (isNaN() || rhs.isNaN()) 20 + if (isNaN() || rhs.isNaN()) 25 if (result.isNaN()) 32 if (result.isNaN()) 39 + if (isNaN() || rhs.isNaN()) 44 if (result.isNaN()) 51 if (result.isNaN()) 58 + if (isNaN() || rhs.isNaN()) 63 if (result.isNaN())
|
/dports/devel/flex-sdk/flex-sdk-4.6.0.23201/frameworks/projects/spark/src/spark/effects/supportClasses/ |
H A D | ResizeInstance.as | 117 heightSet = !isNaN(value); 195 widthSet = !isNaN(value); 241 widthSet = !isNaN(value); 304 if (isNaN(widthFrom)) 306 if (!isNaN(widthTo) && !isNaN(widthBy)) 309 if (isNaN(widthTo)) 329 if (!isNaN(widthBy) && !isNaN(widthFrom)) 335 if (isNaN(heightFrom)) 337 if (!isNaN(heightTo) && !isNaN(heightBy)) 340 if (isNaN(heightTo)) [all …]
|
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/test/java/org/apache/commons/math3/stat/regression/ |
H A D | SimpleRegressionTest.java | 431 Assert.assertTrue("slope not NaN", Double.isNaN(regression.getSlope())); in testNaNs() 435 Assert.assertTrue("e not NaN", Double.isNaN(regression.getR())); in testNaNs() 440 Assert.assertTrue("predict not NaN", Double.isNaN(regression.predict(0))); in testNaNs() 447 Assert.assertTrue("slope not NaN", Double.isNaN(regression.getSlope())); in testNaNs() 451 Assert.assertTrue("e not NaN", Double.isNaN(regression.getR())); in testNaNs() 455 Assert.assertTrue("predict not NaN", Double.isNaN(regression.predict(0))); in testNaNs() 466 Assert.assertTrue("interceptNaN", !Double.isNaN(regression.getIntercept())); in testNaNs() 467 Assert.assertTrue("slope NaN", !Double.isNaN(regression.getSlope())); in testNaNs() 471 Assert.assertTrue("r NaN", !Double.isNaN(regression.getR())); in testNaNs() 472 Assert.assertTrue("r-square NaN", !Double.isNaN(regression.getRSquare())); in testNaNs() [all …]
|
/dports/finance/hs-hledger/hledger-1.19/_cabal_deps/math-functions-0.3.4.1/tests/Tests/ |
H A D | Comparison.hs | 25 , testAssertion "relativeError inf 1" $ isNaN $ relativeError inf 1 26 , testAssertion "relativeError 1 inf" $ isNaN $ relativeError 1 inf 27 , testAssertion "relativeError -inf 1" $ isNaN $ relativeError (-inf) 1 28 , testAssertion "relativeError 1 -inf" $ isNaN $ relativeError 1 (-inf) 29 , testAssertion "relativeError inf inf" $ isNaN $ relativeError inf inf 30 , testAssertion "relativeError inf-inf" $ isNaN $ relativeError inf (-inf) 31 , testAssertion "relativeError 1 Nan" $ isNaN $ relativeError 1 nan 32 , testAssertion "relativeError NaN 1" $ isNaN $ relativeError nan 1 33 , testAssertion "relativeError NaN Nan" $ isNaN $ relativeError nan nan
|
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/math-functions-0.3.4.1/tests/Tests/ |
H A D | Comparison.hs | 25 , testAssertion "relativeError inf 1" $ isNaN $ relativeError inf 1 26 , testAssertion "relativeError 1 inf" $ isNaN $ relativeError 1 inf 27 , testAssertion "relativeError -inf 1" $ isNaN $ relativeError (-inf) 1 28 , testAssertion "relativeError 1 -inf" $ isNaN $ relativeError 1 (-inf) 29 , testAssertion "relativeError inf inf" $ isNaN $ relativeError inf inf 30 , testAssertion "relativeError inf-inf" $ isNaN $ relativeError inf (-inf) 31 , testAssertion "relativeError 1 Nan" $ isNaN $ relativeError 1 nan 32 , testAssertion "relativeError NaN 1" $ isNaN $ relativeError nan 1 33 , testAssertion "relativeError NaN Nan" $ isNaN $ relativeError nan nan
|
/dports/finance/hs-hledger-ui/hledger-ui-1.19/_cabal_deps/math-functions-0.3.4.2/tests/Tests/ |
H A D | Comparison.hs | 25 , testAssertion "relativeError inf 1" $ isNaN $ relativeError inf 1 26 , testAssertion "relativeError 1 inf" $ isNaN $ relativeError 1 inf 27 , testAssertion "relativeError -inf 1" $ isNaN $ relativeError (-inf) 1 28 , testAssertion "relativeError 1 -inf" $ isNaN $ relativeError 1 (-inf) 29 , testAssertion "relativeError inf inf" $ isNaN $ relativeError inf inf 30 , testAssertion "relativeError inf-inf" $ isNaN $ relativeError inf (-inf) 31 , testAssertion "relativeError 1 Nan" $ isNaN $ relativeError 1 nan 32 , testAssertion "relativeError NaN 1" $ isNaN $ relativeError nan 1 33 , testAssertion "relativeError NaN Nan" $ isNaN $ relativeError nan nan
|
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/math-functions-0.3.4.2/tests/Tests/ |
H A D | Comparison.hs | 25 , testAssertion "relativeError inf 1" $ isNaN $ relativeError inf 1 26 , testAssertion "relativeError 1 inf" $ isNaN $ relativeError 1 inf 27 , testAssertion "relativeError -inf 1" $ isNaN $ relativeError (-inf) 1 28 , testAssertion "relativeError 1 -inf" $ isNaN $ relativeError 1 (-inf) 29 , testAssertion "relativeError inf inf" $ isNaN $ relativeError inf inf 30 , testAssertion "relativeError inf-inf" $ isNaN $ relativeError inf (-inf) 31 , testAssertion "relativeError 1 Nan" $ isNaN $ relativeError 1 nan 32 , testAssertion "relativeError NaN 1" $ isNaN $ relativeError nan 1 33 , testAssertion "relativeError NaN Nan" $ isNaN $ relativeError nan nan
|
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/math-functions-0.3.4.2/tests/Tests/ |
H A D | Comparison.hs | 25 , testAssertion "relativeError inf 1" $ isNaN $ relativeError inf 1 26 , testAssertion "relativeError 1 inf" $ isNaN $ relativeError 1 inf 27 , testAssertion "relativeError -inf 1" $ isNaN $ relativeError (-inf) 1 28 , testAssertion "relativeError 1 -inf" $ isNaN $ relativeError 1 (-inf) 29 , testAssertion "relativeError inf inf" $ isNaN $ relativeError inf inf 30 , testAssertion "relativeError inf-inf" $ isNaN $ relativeError inf (-inf) 31 , testAssertion "relativeError 1 Nan" $ isNaN $ relativeError 1 nan 32 , testAssertion "relativeError NaN 1" $ isNaN $ relativeError nan 1 33 , testAssertion "relativeError NaN Nan" $ isNaN $ relativeError nan nan
|
/dports/misc/hs-hascard/hascard-0.3.0.1/_cabal_deps/math-functions-0.3.4.2/tests/Tests/ |
H A D | Comparison.hs | 25 , testAssertion "relativeError inf 1" $ isNaN $ relativeError inf 1 26 , testAssertion "relativeError 1 inf" $ isNaN $ relativeError 1 inf 27 , testAssertion "relativeError -inf 1" $ isNaN $ relativeError (-inf) 1 28 , testAssertion "relativeError 1 -inf" $ isNaN $ relativeError 1 (-inf) 29 , testAssertion "relativeError inf inf" $ isNaN $ relativeError inf inf 30 , testAssertion "relativeError inf-inf" $ isNaN $ relativeError inf (-inf) 31 , testAssertion "relativeError 1 Nan" $ isNaN $ relativeError 1 nan 32 , testAssertion "relativeError NaN 1" $ isNaN $ relativeError nan 1 33 , testAssertion "relativeError NaN Nan" $ isNaN $ relativeError nan nan
|
/dports/math/dune-common/dune-common-df65b1282ea89ad40d2cb6565983f7e633ccce31/dune/common/test/ |
H A D | mathclassifierstest.cc | 27 << "isNaN(int): " << Dune::isNaN(a) << "\n" in main() 28 << "isNaN(const int): " << Dune::isNaN(b) << "\n" in main() 29 << "isNaN(42): " << Dune::isNaN(42) << "\n" in main() 30 << "isNaN(nan): " << Dune::isNaN(nan) << "\n" in main() 31 << "isNaN(inf): " << Dune::isNaN(inf) << "\n" in main() 34 << Dune::isNaN(complex_nonan) << "\n" in main() 36 << Dune::isNaN(complex_nan1) << " " in main() 37 << Dune::isNaN(complex_nan2) << " " in main() 38 << Dune::isNaN(complex_nan3) << "\n" in main()
|
/dports/security/hs-cryptol/cryptol-2.11.0/_cabal_deps/sbv-8.12/Data/SBV/Utils/ |
H A D | Numeric.hs | 35 | isNaN x = y function 36 | isNaN y = x function 46 | isNaN x = y function 47 | isNaN y = x function 58 | isNaN x = 0 / 0 function 70 | isInfinite x || isNaN x = 0 / 0 71 | y == 0 || isNaN y = 0 / 0 88 | isNaN x = x function 100 | isNaN a = isNaN b function 113 | isNaN a = LT function [all …]
|
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/testsuite/actionscript.all/ |
H A D | Number.as | 224 check(isNaN(o)); 225 check(isNaN(0+o)); 421 check(isNaN(val)); 584 check(isNaN(a)); 587 check(isNaN(a)); 622 check(isNaN(a)); 629 check(isNaN(a)); 635 check(isNaN(a)); 638 check(isNaN(a)); 642 check(isNaN(a)); [all …]
|
/dports/java/jfreechart/jfreechart-1.0.17/source/org/jfree/data/statistics/ |
H A D | DefaultStatisticalCategoryDataset.java | 396 if (!Double.isNaN(m)) { in add() 397 if (Double.isNaN(this.maximumRangeValue) in add() 405 if (!Double.isNaN(m + sd)) { in add() 414 if (!Double.isNaN(m)) { in add() 415 if (Double.isNaN(this.minimumRangeValue) in add() 423 if (!Double.isNaN(m - sd)) { in add() 576 if (!Double.isNaN(m)) { in updateBounds() 579 if (Double.isNaN(this.maximumRangeValue)) { in updateBounds() 593 if (Double.isNaN(this.minimumRangeValue)) { in updateBounds() 606 if (!Double.isNaN(sd)) { in updateBounds() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/libphobos/src/std/math/ |
H A D | rounding.d | 106 import std.math.traits : isNaN; 116 assert(isNaN(ceil(real.nan))); 117 assert(isNaN(ceil(real.init))); 126 if (isNaN(x) || isInfinity(x)) in ceil() 138 import std.math.traits : isNaN; 148 assert(isNaN(ceil(double.nan))); 158 if (isNaN(x) || isInfinity(x)) in ceil() 170 import std.math.traits : isNaN; 180 assert(isNaN(ceil(float.nan))); 245 import std.math.traits : isNaN; [all …]
|