Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/libcore/util/
DFP16.java166 public static final int SIGN_MASK = 0x8000; field in FP16
244 result &= SIGN_MASK; in rint()
287 result &= SIGN_MASK; in ceil()
328 result &= SIGN_MASK; in floor()
367 result &= SIGN_MASK; in trunc()
395 return (x & SIGN_MASK) != 0 ? x : y; in min()
398 return ((x & SIGN_MASK) != 0 ? 0x8000 - (x & 0xffff) : x & 0xffff) < in min()
399 ((y & SIGN_MASK) != 0 ? 0x8000 - (y & 0xffff) : y & 0xffff) ? x : y; in min()
421 return (x & SIGN_MASK) != 0 ? y : x; in max()
424 return ((x & SIGN_MASK) != 0 ? 0x8000 - (x & 0xffff) : x & 0xffff) > in max()
[all …]
/libcore/luni/src/main/native/
Dcbigint.cpp42 #define SIGN_MASK (0x8000000000000000LL) macro
487 if (test64 > SIGN_MASK || ((test64 == SIGN_MASK) && (mantissa & 1))) in toDoubleHighPrecision()
489 else if (test64 == SIGN_MASK) in toDoubleHighPrecision()
/libcore/mmodules/core_platform_api/api/platform/
Dcurrent-api.txt1271 field public static final int SIGN_MASK = 32768; // 0x8000