Home
last modified time | relevance | path

Searched refs:FP16_EXPONENT_MAX (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/android/util/
DHalf.java160 private static final int FP16_EXPONENT_MAX = 0x7c00; field in Half
424 short xBits = (x & FP16_COMBINED) > FP16_EXPONENT_MAX ? NaN : x; in compare()
425 short yBits = (y & FP16_COMBINED) > FP16_EXPONENT_MAX ? NaN : y; in compare()
444 return (h & FP16_COMBINED) > FP16_EXPONENT_MAX ? NaN : h; in halfToShortBits()
463 return (h & FP16_COMBINED) > FP16_EXPONENT_MAX ? NaN : h & 0xffff; in halfToIntBits()
676 if ((x & FP16_COMBINED) > FP16_EXPONENT_MAX) return NaN; in min()
677 if ((y & FP16_COMBINED) > FP16_EXPONENT_MAX) return NaN; in min()
701 if ((x & FP16_COMBINED) > FP16_EXPONENT_MAX) return NaN; in max()
702 if ((y & FP16_COMBINED) > FP16_EXPONENT_MAX) return NaN; in max()
723 if ((x & FP16_COMBINED) > FP16_EXPONENT_MAX) return false; in less()
[all …]