Searched refs:FpAbsoluteValue (Results 1 – 1 of 1) sorted by relevance
259 double FpAbsoluteValue(NativeT value) { in FpAbsoluteValue() function264 double FpAbsoluteValue(bfloat16 value) { in FpAbsoluteValue() function265 return FpAbsoluteValue<float>(static_cast<float>(value)); in FpAbsoluteValue()269 double FpAbsoluteValue(half value) { in FpAbsoluteValue() function270 return FpAbsoluteValue<float>(static_cast<float>(value)); in FpAbsoluteValue()360 const double abs_value = FpAbsoluteValue(value); in UpdateAbsValueBucket()414 abs_error = FpAbsoluteValue(actual_finite - expected); in CompareValues()419 rel_error = abs_error / FpAbsoluteValue(expected); in CompareValues()430 abs_error = FpAbsoluteValue(actual - expected); in CompareValues()435 rel_error = abs_error / FpAbsoluteValue(expected); in CompareValues()