Home
last modified time | relevance | path

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

/frameworks/rs/driver/runtime/
Drs_f16_math.c26 SET_HALF_WORD(x, (hx & 0x7fff) | (hy & 0x8000)); in copysign()
53 SET_HALF_WORD(x, hx); in frexp()
89 SET_HALF_WORD(*iptr, i0 & 0x8000); // *iptr = +/- 0 in modf()
96 SET_HALF_WORD(x, i0 & 0x8000); in modf()
100 SET_HALF_WORD(*iptr, i0 & ~i); // zero out fractional parts in modf()
111 SET_HALF_WORD(x, ix & 0x8000); // x = +/- 0 in modf()
131 SET_HALF_WORD(x, (hy & 0x8000) | 1); in nextafter()
148 SET_HALF_WORD(x, hx); in nextafter()
Drs_f16_util.h26 #define SET_HALF_WORD(h, s) \ macro
Drs_cl.c1944 SET_HALF_WORD(maxLessThanOne, 0x3bff); in fract()
2107 SET_HALF_WORD(nan, nan_short); in nan_half()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rs280 #define SET_HALF_WORD(h, s) \
342 SET_HALF_WORD(zero, 0x0000);
343 SET_HALF_WORD(minSubNormal, 0x0001);
344 SET_HALF_WORD(maxSubNormal, 0x03ff);
345 SET_HALF_WORD(minNormal, 0x0400);
346 SET_HALF_WORD(infinity, 0x7c00);
348 SET_HALF_WORD(negativeZero, 0x7000);
349 SET_HALF_WORD(negativeMinSubNormal, 0x8001);
350 SET_HALF_WORD(negativeMaxSubNormal, 0x83ff);
351 SET_HALF_WORD(negativeMinNormal, 0x8400);
[all …]