Home
last modified time | relevance | path

Searched refs:IsPosInf (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dmathlimits.h123 static bool IsPosInf(const Type x);
162 static bool IsPosInf(const Type /*x*/) { return false; } \
229 static bool IsPosInf(const Type x) { return _fpclass(x) == _FPCLASS_PINF; } \
236 static bool IsPosInf(const Type x) { return isinf(x) && x > 0; } \
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmath.h26 XlaOp IsPosInf(XlaOp operand);
Dmath_test.cc77 Tuple(&b, {IsFinite(x), IsInf(x), IsPosInf(x), IsNegInf(x), IsNan(x)}); in TestIsInfOrNan()
195 {IsPosInf, "is_pos_inf"}, in XLA_TEST_F()
Dmath.cc67 XlaOp IsPosInf(XlaOp operand) { in IsPosInf() function
93 return IsPosInf(Abs(operand)); in IsInf()
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py85 def IsPosInf(val): function
158 self.assertTrue(IsPosInf(golden_message.optional_float))
159 self.assertTrue(IsPosInf(golden_message.optional_double))
160 self.assertTrue(IsPosInf(golden_message.repeated_float[0]))
161 self.assertTrue(IsPosInf(golden_message.repeated_double[0]))
213 self.assertTrue(IsPosInf(golden_message.packed_float[0]))
214 self.assertTrue(IsPosInf(golden_message.packed_double[0]))
/external/protobuf/src/google/protobuf/util/internal/
Dutility.cc326 if (MathLimits<double>::IsPosInf(value)) return "Infinity"; in DoubleAsString()