Home
last modified time | relevance | path

Searched refs:IsNegInf (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dmathlimits.h137 static bool IsNegInf(const Type x);
176 static bool IsNegInf(const Type /*x*/) { return false; }
254 static bool IsNegInf(const Type x) { return _fpclass(x) == _FPCLASS_NINF; }
261 static bool IsNegInf(const Type x) { return ISINF(x) && x < 0; }
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dmessage_test.py73 def IsNegInf(val): function
159 self.assertTrue(IsNegInf(golden_message.optional_float))
160 self.assertTrue(IsNegInf(golden_message.optional_double))
161 self.assertTrue(IsNegInf(golden_message.repeated_float[0]))
162 self.assertTrue(IsNegInf(golden_message.repeated_double[0]))
203 self.assertTrue(IsNegInf(golden_message.packed_float[0]))
204 self.assertTrue(IsNegInf(golden_message.packed_double[0]))
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmath.h27 XlaOp IsNegInf(XlaOp operand);
Dmath_test.cc80 Tuple(&b, {IsFinite(x), IsInf(x), IsPosInf(x), IsNegInf(x), IsNan(x)}); in TestIsInfOrNan()
208 {IsNegInf, "is_neg_inf"}, in XLA_TEST_F()
Dmath.cc110 XlaOp IsNegInf(XlaOp operand) { in IsNegInf() function
/external/protobuf/src/google/protobuf/util/internal/
Dutility.cc380 if (MathLimits<double>::IsNegInf(value)) return "-Infinity"; in DoubleAsString()
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py105 def IsNegInf(val): function
246 self.assertTrue(IsNegInf(golden_message.optional_float))
247 self.assertTrue(IsNegInf(golden_message.optional_double))
248 self.assertTrue(IsNegInf(golden_message.repeated_float[0]))
249 self.assertTrue(IsNegInf(golden_message.repeated_double[0]))
290 self.assertTrue(IsNegInf(golden_message.packed_float[0]))
291 self.assertTrue(IsNegInf(golden_message.packed_double[0]))
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/IR/
Dchlo_ops.td622 let summary = "IsNegInf predicate";
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp4101 bool IsNegInf = CFP->getValueAPF().isNegative(); in SimplifySetCC() local
4104 case ISD::SETOEQ: NewCond = IsNegInf ? ISD::SETOLE : ISD::SETOGE; break; in SimplifySetCC()
4105 case ISD::SETUEQ: NewCond = IsNegInf ? ISD::SETULE : ISD::SETUGE; break; in SimplifySetCC()
4106 case ISD::SETUNE: NewCond = IsNegInf ? ISD::SETUGT : ISD::SETULT; break; in SimplifySetCC()
4107 case ISD::SETONE: NewCond = IsNegInf ? ISD::SETOGT : ISD::SETOLT; break; in SimplifySetCC()