Searched refs:inf_value (Results 1 – 3 of 3) sorted by relevance
167 inf_value = 1e300 variable in SafeRepresenter168 while repr(inf_value) != repr(inf_value*inf_value):169 inf_value *= inf_value174 elif data == self.inf_value:176 elif data == -self.inf_value:
265 inf_value = 1e300 variable in SafeConstructor266 while inf_value != inf_value*inf_value:267 inf_value *= inf_value268 nan_value = -inf_value/inf_value # Trying to make a quiet NaN (like C99).279 return sign*self.inf_value
39 static constexpr uint16_t inf_value = 0x7c00; variable153 result = (f.u > f32infty.u) ? nan_value : inf_value; in FromFloat32()267 static float16 infinity() noexcept { return float16::FromRaw(float16::inf_value); }286 …ol(isinf)(const float16 &a) { return (a.int_value() & float16::value_mask) == float16::inf_value; }287 …ool(isnan)(const float16 &a) { return (a.int_value() & float16::value_mask) > float16::inf_value; }