Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/LibC/Math/
Ds_ceil.c35 int32_t i0,i1,j0; in ceil() local
38 EXTRACT_WORDS(i0,i1,x); in ceil()
39 j0 = ((i0>>20)&0x7ff)-0x3ff; in ceil()
43 if(i0<0) {i0=0x80000000;i1=0;} in ceil()
44 else if((i0|i1)!=0) { i0=0x3ff00000;i1=0;} in ceil()
48 if(((i0&i)|i1)==0) return x; /* x is integral */ in ceil()
50 if(i0>0) i0 += (0x00100000)>>j0; in ceil()
51 i0 &= (~i); i1=0; in ceil()
61 if(i0>0) { in ceil()
62 if(j0==20) i0+=1; in ceil()
[all …]
Ds_floor.c35 int32_t i0,i1,j0; in floor() local
37 EXTRACT_WORDS(i0,i1,x); in floor()
38 j0 = ((i0>>20)&0x7ff)-0x3ff; in floor()
42 if(i0>=0) {i0=i1=0;} in floor()
43 else if(((i0&0x7fffffff)|i1)!=0) in floor()
44 { i0=0xbff00000;i1=0;} in floor()
48 if(((i0&i)|i1)==0) return x; /* x is integral */ in floor()
50 if(i0<0) i0 += (0x00100000)>>j0; in floor()
51 i0 &= (~i); i1=0; in floor()
61 if(i0<0) { in floor()
[all …]
Ds_modf.c36 int32_t i0,i1,j0; in modf() local
38 EXTRACT_WORDS(i0,i1,x); in modf()
39 j0 = ((i0>>20)&0x7ff)-0x3ff; /* exponent of x */ in modf()
42 INSERT_WORDS(*iptr,i0&0x80000000,0); /* *iptr = +-0 */ in modf()
46 if(((i0&i)|i1)==0) { /* x is integral */ in modf()
53 INSERT_WORDS(*iptr,i0&(~i),0); in modf()
72 INSERT_WORDS(*iptr,i0,i1&(~i)); in modf()
/device/google/contexthub/firmware/lib/libm/
Dsf_floor.c40 __int32_t i0,j0; local
42 GET_FLOAT_WORD(i0,x);
43 ix = (i0&0x7fffffff);
48 if(i0>=0) {i0=0;}
50 { i0=0xbf800000;}
54 if((i0&i)==0) return x; /* x is integral */
56 if(i0<0) i0 += (0x00800000)>>j0;
57 i0 &= (~i);
64 SET_FLOAT_WORD(x,i0);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_generators.py1148 def remove_from_successors(i0, len=len): argument
1158 for i in succs[i0]:
1160 s.remove(i0)
1170 def add_to_successors(i0): argument
1171 for i in succs[i0]:
1172 succs[i].append(i0)
Dcmath_testcases.txt2236 -- rect(+0, +0) returns +0 + i0
2237 -- rect(+0, inf) returns +- 0 +- i0, where the signs of the real and
2244 -- rect(inf, +0) returns inf+i0
2250 -- rect(NaN, 0) returns NaN +- i0, where the sign of the imaginary
2254 -- rect(+0, NaN) return +-0 +- i0, where the signs of the real and
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dflmodule.c851 int i0, i1, i2; in get_clock() local
853 fl_get_clock (g->ob_generic, &i0, &i1, &i2); in get_clock()
855 return Py_BuildValue("(iii)", i0, i1, i2); in get_clock()