Searched refs:IsPosInf (Results 1 – 6 of 6) sorted by relevance
123 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; } \
26 XlaOp IsPosInf(XlaOp operand);
77 Tuple(&b, {IsFinite(x), IsInf(x), IsPosInf(x), IsNegInf(x), IsNan(x)}); in TestIsInfOrNan()195 {IsPosInf, "is_pos_inf"}, in XLA_TEST_F()
67 XlaOp IsPosInf(XlaOp operand) { in IsPosInf() function93 return IsPosInf(Abs(operand)); in IsInf()
85 def IsPosInf(val): function158 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]))
326 if (MathLimits<double>::IsPosInf(value)) return "Infinity"; in DoubleAsString()