Searched refs:half_max (Results 1 – 2 of 2) sorted by relevance
/external/google-fruit/examples/simple_injection/ |
D | checked_adder.cpp | 28 const int half_max = INT_MAX / 2; in add_overflows() local 30 if (x > half_max) { in add_overflows() 32 if (y > half_max) in add_overflows() 41 return (x - half_max + y) > (INT_MAX - half_max); in add_overflows()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | convert_test.cc | 435 float half_max = 65504.0f; in GetInterestingF16ConversionTestCases() local 438 {-infinity, -(half_max * 2 + 1), -half_max, -42.0f, -1.0f, in GetInterestingF16ConversionTestCases() 441 half_max_subnormal, half_min_positive_normal, 1.0f, 42.0f, half_max, in GetInterestingF16ConversionTestCases() 442 (half_max * 2 + 1), infinity}); in GetInterestingF16ConversionTestCases()
|