Home
last modified time | relevance | path

Searched refs:NegInf (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/subzero/crosstest/
Dtest_fcmp_main.cpp47 static const double NegInf = -1.0 / 0.0; in initializeValues() local
52 assert(std::fpclassify(NegInf) == FP_INFINITE); in initializeValues()
56 assert(NegInf < Zero); in initializeValues()
57 assert(NegInf < PosInf); in initializeValues()
60 FP_VALUE_ARRAY(NegInf, PosInf, NegNan, Nan); in initializeValues()
Dtest_cast_main.cpp128 static const float NegInf = -1.0 / 0.0; in testVector() local
132 volatile float Values[] = FP_VALUE_ARRAY(NegInf, PosInf, NegNan, Nan); in testVector()
242 static const double NegInf = -1.0 / 0.0; in main() local
246 volatile float ValsF32[] = FP_VALUE_ARRAY(NegInf, PosInf, NegNan, Nan); in main()
249 volatile double ValsF64[] = FP_VALUE_ARRAY(NegInf, PosInf, NegNan, Nan); in main()
Dtest_arith.def67 #define FP_VALUE_ARRAY(NegInf, PosInf, NegNan, NaN) \
79 0xffffffffffffffffll, NegInf, PosInf, \
Dtest_arith_main.cpp248 static const Type NegInf = -1.0 / 0.0; in testsFp() local
252 volatile Type Values[] = FP_VALUE_ARRAY(NegInf, PosInf, NegNan, Nan); in testsFp()
318 static const float NegInf = -1.0 / 0.0; in testsVecFp() local
322 volatile float Values[] = FP_VALUE_ARRAY(NegInf, PosInf, NegNan, Nan); in testsVecFp()
Dtest_select_main.cpp72 static const float NegInf = -1.0 / 0.0; in testSelect() local
76 volatile float Values[] = FP_VALUE_ARRAY(NegInf, PosInf, NegNan, Nan); in testSelect()
/external/python/cpython2/Lib/json/
Ddecoder.py22 NaN, PosInf, NegInf = _floatconstants() variable
50 '-Infinity': NegInf,
/external/python/cpython3/Lib/json/
Ddecoder.py17 NegInf = float('-inf') variable
47 '-Infinity': NegInf,
/external/llvm-project/llvm/unittests/ADT/
DAPFloatTest.cpp3179 APFloat NegInf = APFloat::getInf(APFloat::IEEEsingle(), true); in TEST() local
3187 EXPECT_TRUE(NegInf.bitwiseIsEqual(neg(Inf))); in TEST()
3188 EXPECT_TRUE(Inf.bitwiseIsEqual(neg(NegInf))); in TEST()
3189 EXPECT_TRUE(NegInf.bitwiseIsEqual(neg(Inf))); in TEST()
3190 EXPECT_TRUE(Inf.bitwiseIsEqual(neg(NegInf))); in TEST()
3198 EXPECT_TRUE(NegInf.bitwiseIsEqual(-Inf)); in TEST()
3199 EXPECT_TRUE(Inf.bitwiseIsEqual(-NegInf)); in TEST()
3200 EXPECT_TRUE(NegInf.bitwiseIsEqual(-Inf)); in TEST()
3201 EXPECT_TRUE(Inf.bitwiseIsEqual(-NegInf)); in TEST()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1060 Value *NegInf = ConstantFP::getInfinity(CI->getType(), true); in optimizePow() local
1064 Value *FCmp = B.CreateFCmpOEQ(Op1, NegInf); in optimizePow()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1661 *NegInf = ConstantFP::getInfinity(Ty, true); in replacePowWithSqrt() local
1662 Value *FCmp = B.CreateFCmpOEQ(Base, NegInf, "isinf"); in replacePowWithSqrt()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1666 *NegInf = ConstantFP::getInfinity(Ty, true); in replacePowWithSqrt() local
1667 Value *FCmp = B.CreateFCmpOEQ(Base, NegInf, "isinf"); in replacePowWithSqrt()
/external/jsoncpp/src/test_lib_json/
Dmain.cpp3589 char const doc[] = R"({"posInf": +Infinity, "NegInf": -Infinity})"; in JSONTEST_FIXTURE_LOCAL()