Searched refs:jj0 (Results 1 - 16 of 16) sorted by relevance

/openbsd-current/lib/libm/src/
H A Ds_ceilf.c24 int32_t i0,jj0; local
28 jj0 = ((i0>>23)&0xff)-0x7f;
29 if(jj0<23) {
30 if(jj0<0) { /* raise inexact if x != 0 */
36 i = (0x007fffff)>>jj0;
39 if(i0>0) i0 += (0x00800000)>>jj0;
44 if(jj0==0x80) return x+x; /* inf or NaN */
H A Ds_floorf.c33 int32_t i0,jj0; local
36 jj0 = ((i0>>23)&0xff)-0x7f;
37 if(jj0<23) {
38 if(jj0<0) { /* raise inexact if x != 0 */
45 i = (0x007fffff)>>jj0;
48 if(i0<0) i0 += (0x00800000)>>jj0;
53 if(jj0==0x80) return x+x; /* inf or NaN */
H A Ds_truncf.c30 int32_t i0,jj0; local
33 jj0 = ((i0>>23)&0xff)-0x7f;
34 if(jj0<23) {
35 if(jj0<0) { /* raise inexact if x != 0 */
39 i = (0x007fffff)>>jj0;
45 if(jj0==0x80) return x+x; /* inf or NaN */
H A Ds_trunc.c32 int32_t i0,i1,jj0; local
35 jj0 = ((i0>>20)&0x7ff)-0x3ff;
36 if(jj0<20) {
37 if(jj0<0) { /* raise inexact if x != 0 */
43 i = (0x000fffff)>>jj0;
49 } else if (jj0>51) {
50 if(jj0==0x400) return x+x; /* inf or NaN */
53 i = ((u_int32_t)(0xffffffff))>>(jj0-20);
H A Ds_ceil.c32 int32_t i0,i1,jj0; local
35 jj0 = ((i0>>20)&0x7ff)-0x3ff;
36 if(jj0<20) {
37 if(jj0<0) { /* raise inexact if x != 0 */
43 i = (0x000fffff)>>jj0;
46 if(i0>0) i0 += (0x00100000)>>jj0;
50 } else if (jj0>51) {
51 if(jj0==0x400) return x+x; /* inf or NaN */
54 i = ((u_int32_t)(0xffffffff))>>(jj0-20);
58 if(jj0
[all...]
H A Ds_floor.c32 int32_t i0,i1,jj0; local
35 jj0 = ((i0>>20)&0x7ff)-0x3ff;
36 if(jj0<20) {
37 if(jj0<0) { /* raise inexact if x != 0 */
44 i = (0x000fffff)>>jj0;
47 if(i0<0) i0 += (0x00100000)>>jj0;
51 } else if (jj0>51) {
52 if(jj0==0x400) return x+x; /* inf or NaN */
55 i = ((u_int32_t)(0xffffffff))>>(jj0-20);
59 if(jj0
[all...]
H A Ds_rint.c37 int32_t i0,jj0,sx; local
43 jj0 = ((i0>>20)&0x7ff)-0x3ff;
44 if(jj0<20) {
45 if(jj0<0) {
57 i = (0x000fffff)>>jj0;
61 if(jj0==19) i1 = 0x40000000; else
62 i0 = (i0&(~i))|((0x20000)>>jj0);
65 } else if (jj0>51) {
66 if(jj0==0x400) return x+x; /* inf or NaN */
69 i = ((u_int32_t)(0xffffffff))>>(jj0
[all...]
H A Ds_modff.c24 int32_t i0,jj0; local
27 jj0 = ((i0>>23)&0xff)-0x7f; /* exponent of x */
28 if(jj0<23) { /* integer part in x */
29 if(jj0<0) { /* |x|<1 */
33 i = (0x007fffff)>>jj0;
48 if (jj0 == 0x80) /* +-inf or NaN */
H A Ds_rintf.c28 int32_t i0,jj0,sx; local
34 jj0 = ((i0>>23)&0xff)-0x7f;
35 if(jj0<23) {
36 if(jj0<0) {
48 i = (0x007fffff)>>jj0;
51 if((i0&i)!=0) i0 = (i0&(~i))|((0x100000)>>jj0);
54 if(jj0==0x80) return x+x; /* inf or NaN */
/openbsd-current/lib/libm/src/ld80/
H A Ds_ceill.c31 int32_t i1,jj0; local
35 jj0 = (se&0x7fff)-0x3fff;
36 if(jj0<31) {
37 if(jj0<0) { /* raise inexact if x != 0 */
43 i = (0x7fffffff)>>jj0;
47 if (jj0>0 && (i0+(0x80000000>>jj0))>i0)
48 i0+=0x80000000>>jj0;
58 } else if (jj0>62) {
59 if(jj0
[all...]
H A Ds_floorl.c31 int32_t i1,jj0; local
35 jj0 = (se&0x7fff)-0x3fff;
36 if(jj0<31) {
37 if(jj0<0) { /* raise inexact if x != 0 */
45 i = (0x7fffffff)>>jj0;
49 if (jj0>0 && (i0+(0x80000000>>jj0))>i0)
50 i0 += (0x80000000)>>jj0;
60 } else if (jj0>62) {
61 if(jj0
[all...]
H A Ds_modfl.c32 int32_t i0,i1,jj0; local
35 jj0 = (se&0x7fff)-0x3fff; /* exponent of x */
36 if(jj0<32) { /* integer part in high x */
37 if(jj0<0) { /* |x|<1 */
41 i = (0x7fffffff)>>jj0;
51 } else if (jj0>63) { /* no fraction part */
54 if (jj0 == 0x4000 && ((i0 & 0x7fffffff) | i1))
59 i = ((u_int32_t)(0x7fffffff))>>(jj0-32);
H A Ds_tanhl.c48 u_int32_t jj0,jj1,ix; local
51 GET_LDOUBLE_WORDS(se,jj0,jj1,x);
62 if (ix < 0x4003 || (ix == 0x4003 && jj0 < 0xb8000000u)) {/* |x|<23 */
63 if ((ix|jj0|jj1) == 0)
/openbsd-current/lib/libm/src/ld128/
H A Ds_modfl.c32 int64_t i0,i1,jj0; local
35 jj0 = ((i0>>48)&0x7fff)-0x3fff; /* exponent of x */
36 if(jj0<48) { /* integer part in high x */
37 if(jj0<0) { /* |x|<1 */
42 i = (0x0000ffffffffffffLL)>>jj0;
53 } else if (jj0>111) { /* no fraction part */
56 if (jj0 == 0x4000 && ((i0 & 0x0000ffffffffffffLL) | i1))
62 i = -1ULL>>(jj0-48);
H A Ds_ceill.c31 int64_t i0,i1,jj0; local
34 jj0 = ((i0>>48)&0x7fff)-0x3fff;
35 if(jj0<48) {
36 if(jj0<0) { /* raise inexact if x != 0 */
42 i = (0x0000ffffffffffffULL)>>jj0;
45 if(i0>0) i0 += (0x0001000000000000LL)>>jj0;
49 } else if (jj0>111) {
50 if(jj0==0x4000) return x+x; /* inf or NaN */
53 i = -1ULL>>(jj0-48);
57 if(jj0
[all...]
H A Ds_floorl.c31 int64_t i0,i1,jj0; local
34 jj0 = ((i0>>48)&0x7fff)-0x3fff;
35 if(jj0<48) {
36 if(jj0<0) { /* raise inexact if x != 0 */
44 i = (0x0000ffffffffffffULL)>>jj0;
47 if(i0<0) i0 += (0x0001000000000000LL)>>jj0;
51 } else if (jj0>111) {
52 if(jj0==0x4000) return x+x; /* inf or NaN */
55 i = -1ULL>>(jj0-48);
59 if(jj0
[all...]

Completed in 116 milliseconds