Searched refs:maxValueInHalf (Results 1 – 1 of 1) sorted by relevance
182 double maxValueInHalf = Float16Utils.roundToFloat16(maxDoubleValue)[0]; in genRandomFloat16s() local187 if (Double.isInfinite(maxValueInHalf)) { in genRandomFloat16s()188 maxValueInHalf = Math.copySign(Float16Utils.MAX_VALUE, maxValueInHalf); in genRandomFloat16s()192 short max = Float16Utils.convertDoubleToFloat16(maxValueInHalf); in genRandomFloat16s()