Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/LibC/Math/
Ds_ceil.c35 int32_t i0,i1,j0; in ceil() local
39 j0 = ((i0>>20)&0x7ff)-0x3ff; in ceil()
40 if(j0<20) { in ceil()
41 if(j0<0) { /* raise inexact if x != 0 */ in ceil()
47 i = (0x000fffff)>>j0; in ceil()
50 if(i0>0) i0 += (0x00100000)>>j0; in ceil()
54 } else if (j0>51) { in ceil()
55 if(j0==0x400) return x+x; /* inf or NaN */ in ceil()
58 i = ((u_int32_t)(0xffffffff))>>(j0-20); in ceil()
62 if(j0==20) i0+=1; in ceil()
[all …]
Ds_floor.c35 int32_t i0,i1,j0; in floor() local
38 j0 = ((i0>>20)&0x7ff)-0x3ff; in floor()
39 if(j0<20) { in floor()
40 if(j0<0) { /* raise inexact if x != 0 */ in floor()
47 i = (0x000fffff)>>j0; in floor()
50 if(i0<0) i0 += (0x00100000)>>j0; in floor()
54 } else if (j0>51) { in floor()
55 if(j0==0x400) return x+x; /* inf or NaN */ in floor()
58 i = ((u_int32_t)(0xffffffff))>>(j0-20); in floor()
62 if(j0==20) i0+=1; in floor()
[all …]
Ds_modf.c36 int32_t i0,i1,j0; in modf() local
39 j0 = ((i0>>20)&0x7ff)-0x3ff; /* exponent of x */ in modf()
40 if(j0<20) { /* integer part in high x */ in modf()
41 if(j0<0) { /* |x|<1 */ in modf()
45 i = (0x000fffff)>>j0; in modf()
57 } else if (j0>51) { /* no fraction part */ in modf()
64 i = ((u_int32_t)(0xffffffff))>>(j0-20); in modf()
/device/google/contexthub/firmware/lib/libm/
Dsf_floor.c40 __int32_t i0,j0; local
44 j0 = (ix>>23)-0x7f;
45 if(j0<23) {
46 if(j0<0) { /* raise inexact if x != 0 */
53 i = (0x007fffff)>>j0;
56 if(i0<0) i0 += (0x00800000)>>j0;
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/
Dmath_private.h694 #define __ieee754_j0 j0