Searched refs:SET_HALF_WORD (Results 1 – 4 of 4) sorted by relevance
/frameworks/rs/driver/runtime/ |
D | rs_f16_math.c | 26 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() 132 SET_HALF_WORD(x, (hy & 0x8000) | 1); in nextafter() 149 SET_HALF_WORD(x, hx); in nextafter()
|
D | rs_f16_util.h | 26 #define SET_HALF_WORD(h, s) \ macro
|
D | rs_cl.c | 1941 SET_HALF_WORD(maxLessThanOne, 0x3bff); in fract() 2104 SET_HALF_WORD(nan, nan_short); in nan_half()
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | math_fp16.rs | 264 #define SET_HALF_WORD(h, s) \ 326 SET_HALF_WORD(zero, 0x0000); 327 SET_HALF_WORD(minSubNormal, 0x0001); 328 SET_HALF_WORD(maxSubNormal, 0x03ff); 329 SET_HALF_WORD(minNormal, 0x0400); 330 SET_HALF_WORD(infinity, 0x7c00); 332 SET_HALF_WORD(negativeZero, 0x7000); 333 SET_HALF_WORD(negativeMinSubNormal, 0x8001); 334 SET_HALF_WORD(negativeMaxSubNormal, 0x83ff); 335 SET_HALF_WORD(negativeMinNormal, 0x8400); [all …]
|