Home
last modified time | relevance | path

Searched refs:nan (Results 1 – 25 of 78) sorted by relevance

1234

/aosp12/art/test/003-omnibus-opcodes/src/
H A DCompare.java117 float nan) { in testFloatCompare() argument
129 if (plus <= nan) in testFloatCompare()
131 if (plus >= nan) in testFloatCompare()
137 if (nan >= plus) in testFloatCompare()
139 if (nan <= plus) in testFloatCompare()
142 if (nan == nan) in testFloatCompare()
147 double nan) { in testDoubleCompare() argument
159 if (plus <= nan) in testDoubleCompare()
161 if (plus >= nan) in testDoubleCompare()
167 if (nan >= plus) in testDoubleCompare()
[all …]
/aosp12/art/test/107-int-math2/src/
H A DMain.java676 if (plus <= nan) in testFloatCompare()
678 if (plus >= nan) in testFloatCompare()
680 if (minus <= nan) in testFloatCompare()
684 if (nan >= plus) in testFloatCompare()
686 if (nan <= plus) in testFloatCompare()
689 if (nan == nan) in testFloatCompare()
709 if (plus <= nan) in testDoubleCompare()
711 if (plus >= nan) in testDoubleCompare()
717 if (nan >= plus) in testDoubleCompare()
719 if (nan <= plus) in testDoubleCompare()
[all …]
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DRationalTest.java136 Rational nan = NaN; in testEquals() local
138 assertTrue(nan.equals(nan)); in testEquals()
139 assertTrue(nan.equals(nan2)); in testEquals()
140 assertTrue(nan2.equals(nan)); in testEquals()
141 assertFalse(nan.equals(r)); in testEquals()
142 assertFalse(r.equals(nan)); in testEquals()
161 assertFalse(posInf.equals(nan)); in testEquals()
162 assertFalse(negInf.equals(nan)); in testEquals()
163 assertFalse(nan.equals(posInf)); in testEquals()
164 assertFalse(nan.equals(negInf)); in testEquals()
/aosp12/bionic/tests/
H A Dmath_test.cpp115 ASSERT_EQ(FP_NAN, fpclassify(nan(""))); in TEST()
344 ASSERT_TRUE((isnan)(nan(""))); in TEST()
356 ASSERT_TRUE(__isnan(nan(""))); in TEST()
731 ASSERT_TRUE(isnan(pow(nan(""), 3.0))); in TEST()
733 ASSERT_TRUE(isnan(pow(2.0, nan("")))); in TEST()
1133 ASSERT_TRUE(isnan(logb(nan("")))); in TEST()
1160 ASSERT_TRUE(isnan(log1p(nan("")))); in TEST()
1207 ASSERT_TRUE(isnan(round(nan("")))); in TEST()
1243 ASSERT_TRUE(isnan(trunc(nan("")))); in TEST()
1267 ASSERT_TRUE(isnan(truncl(nan("")))); in TEST()
[all …]
H A Dcomplex_test.cpp323 z = ctanh(nan("") + 0i); in TEST()
328 z = ctanh(nan("") + 2.0i); in TEST()
333 z = ctanh(nan("") + nan("") * I); in TEST()
/aosp12/art/test/611-checker-simplify-if/src/
H A DMain.java260 float nan = $noinline$getNaN(); in testFP() local
265 f = nan; in testFP()
267 if (f == nan) { in testFP()
/aosp12/packages/modules/NeuralNetworks/tools/systrace_parser/parser/
H A Daggregate.py109 self_times[phase][layer] = math.nan
129 self_times[app_phase][phase][layer] = math.nan
146 return math.nan
148 return math.nan
H A Doutput.py94 values[make_tag(layer, "PEp")] = math.nan
107 values[layer + "_" + phase] = math.nan
/aosp12/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_nan.c82 nan(const char *s) in nan() function
112 __weak_reference(nan, nanl);
/aosp12/system/media/audio_utils/tests/
H A Dstatistics_tests.cpp213 double nanarray[] = { nan(""), nan(""), nan("") }; in TEST()
272 PRINT_AND_EXPECT_EQ(std::nan(""), in TEST()
284 PRINT_AND_EXPECT_EQ(std::nan(""), in TEST()
287 PRINT_AND_EXPECT_EQ(std::nan(""), in TEST()
288 android::audio_utils::sqrt(std::nan(""))); in TEST()
/aosp12/art/test/442-checker-constant-folding/smali/
H A DTestCmp.smali244 ## CHECK-DAG: <<ConstNan:f\d+>> FloatConstant nan
250 ## CHECK-DAG: FloatConstant nan
267 ## CHECK-DAG: <<ConstNan:f\d+>> FloatConstant nan
273 ## CHECK-DAG: FloatConstant nan
290 ## CHECK-DAG: <<ConstNan:d\d+>> DoubleConstant nan
296 ## CHECK-DAG: DoubleConstant nan
313 ## CHECK-DAG: <<ConstNan:d\d+>> DoubleConstant nan
319 ## CHECK-DAG: DoubleConstant nan
/aosp12/hardware/broadcom/wlan/bcmdhd/wifi_hal/
H A DAndroid.mk56 nan.cpp \
/aosp12/bionic/libc/include/
H A Dmath.h277 double nan(const char* __kind) __attribute_const__;
279 long double nanl(const char* __kind) __RENAME_LDBL(nan, 13, 13) __attribute_const__;
/aosp12/art/test/dexdump/
H A Dvalues.txt129 value : nan
164 value : nan
/aosp12/art/runtime/interpreter/
H A Dunstarted_runtime_test.cc678 constexpr double nan = std::numeric_limits<double>::quiet_NaN(); in TEST_F() local
689 { nan, nan }, in TEST_F()
705 constexpr double nan = std::numeric_limits<double>::quiet_NaN(); in TEST_F() local
716 { nan, nan }, in TEST_F()
/aosp12/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/corpus/
H A Dseed394556 scale: nan
719 scale: nan
H A Dseed009292 scale: nan
/aosp12/frameworks/compile/slang/tests/P_math_fp/
H A Dmath_fp.rscript122 //TEST_FUNC_1(nan);
/aosp12/bionic/libm/
H A Dlibm.map.txt201 nan; # introduced-arm=13 introduced-arm64=21 introduced-x86=9 introduced-x86_64=21
/aosp12/bionic/tests/headers/posix/
H A Dmath_h.c271 FUNCTION(nan, double (*f)(const char*)); in math_h()
/aosp12/art/compiler/optimizing/
H A Dcode_generator_x86_64.cc3189 NearLabel done, nan; in VisitTypeConversion() local
3196 __ j(kUnordered, &nan); in VisitTypeConversion()
3200 __ Bind(&nan); in VisitTypeConversion()
3210 NearLabel done, nan; in VisitTypeConversion() local
3217 __ j(kUnordered, &nan); in VisitTypeConversion()
3221 __ Bind(&nan); in VisitTypeConversion()
3250 NearLabel done, nan; in VisitTypeConversion() local
3261 __ Bind(&nan); in VisitTypeConversion()
3271 NearLabel done, nan; in VisitTypeConversion() local
3283 __ Bind(&nan); in VisitTypeConversion()
[all …]
H A Dinstruction_simplifier.cc2420 HInstruction* nan; in SimplifyFP2Int() local
2422 nan = GetGraph()->GetLongConstant(0x7ff8000000000000L); in SimplifyFP2Int()
2429 nan = GetGraph()->GetIntConstant(0x7fc00000); in SimplifyFP2Int()
2440 HInstruction* select = new (GetGraph()->GetAllocator()) HSelect(condition, nan, invoke, dex_pc); in SimplifyFP2Int()
/aosp12/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
H A Dmath.rscript162 // nan
/aosp12/bionic/benchmarks/
H A Dmath_benchmark.cpp23 static const double values[] = { 1234.0, nan(""), HUGE_VAL, 0.0 };
/aosp12/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
H A Dmath.rs.bak288 // nan

1234