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

/netbsd-current/lib/libm/src/
H A Ds_ceilf.c29 int32_t i0,jj0; local
33 jj0 = ((i0>>23)&0xff)-0x7f;
34 if(jj0<23) {
35 if(jj0<0) { /* raise inexact if x != 0 */
41 i = (0x007fffff)>>jj0;
44 if(i0>0) i0 += (0x00800000)>>jj0;
49 if(jj0==0x80) return x+x; /* inf or NaN */
H A Ds_floorf.c38 int32_t i0,jj0; local
41 jj0 = ((i0>>23)&0xff)-0x7f;
42 if(jj0<23) {
43 if(jj0<0) { /* raise inexact if x != 0 */
50 i = (0x007fffff)>>jj0;
53 if(i0<0) i0 += (0x00800000)>>jj0;
58 if(jj0==0x80) return x+x; /* inf or NaN */
H A Ds_truncf.c38 int32_t i0,jj0; local
41 jj0 = ((i0>>23)&0xff)-0x7f;
42 if(jj0<23) {
43 if(jj0<0) { /* raise inexact if x != 0 */
47 i = (0x007fffff)>>jj0;
53 if(jj0==0x80) return x+x; /* inf or NaN */
H A Ds_trunc.c43 int32_t i0,i1,jj0; local
46 jj0 = ((i0>>20)&0x7ff)-0x3ff;
47 if(jj0<20) {
48 if(jj0<0) { /* raise inexact if x != 0 */
54 i = (0x000fffff)>>jj0;
60 } else if (jj0>51) {
61 if(jj0==0x400) return x+x; /* inf or NaN */
64 i = ((u_int32_t)(0xffffffff))>>(jj0-20);
H A Ds_ceil.c40 int32_t i0,i1,jj0; local
43 jj0 = ((i0>>20)&0x7ff)-0x3ff;
44 if(jj0<20) {
45 if(jj0<0) { /* raise inexact if x != 0 */
51 i = (0x000fffff)>>jj0;
54 if(i0>0) i0 += (0x00100000)>>jj0;
58 } else if (jj0>51) {
59 if(jj0==0x400) return x+x; /* inf or NaN */
62 i = ((u_int32_t)(0xffffffff))>>(jj0-20);
66 if(jj0
[all...]
H A Ds_floor.c40 int32_t i0,i1,jj0; local
43 jj0 = ((i0>>20)&0x7ff)-0x3ff;
44 if(jj0<20) {
45 if(jj0<0) { /* raise inexact if x != 0 */
52 i = (0x000fffff)>>jj0;
55 if(i0<0) i0 += (0x00100000)>>jj0;
59 } else if (jj0>51) {
60 if(jj0==0x400) return x+x; /* inf or NaN */
63 i = ((u_int32_t)(0xffffffff))>>(jj0-20);
67 if(jj0
[all...]
H A Ds_rint.c40 int32_t i0,jj0,sx; local
45 jj0 = ((i0>>20)&0x7ff)-0x3ff;
46 if(jj0<20) {
47 if(jj0<0) {
59 i = (0x000fffff)>>jj0;
63 if(jj0==19) i1 = 0x40000000; else
64 i0 = (i0&(~i))|((0x20000)>>jj0);
67 } else if (jj0>51) {
68 if(jj0==0x400) return x+x; /* inf or NaN */
71 i = ((u_int32_t)(0xffffffff))>>(jj0
[all...]
H A Ds_modff.c29 int32_t i0,jj0; local
32 jj0 = ((i0>>23)&0xff)-0x7f; /* exponent of x */
33 if(jj0<23) { /* integer part in x */
34 if(jj0<0) { /* |x|<1 */
38 i = (0x007fffff)>>jj0;
53 if (jj0 == 0x80) /* +-inf or NaN */
H A Ds_modf.c41 int32_t i0,i1,jj0; local
44 jj0 = (((uint32_t)i0>>20)&0x7ff)-0x3ff; /* exponent of x */
45 if(jj0<20) { /* integer part in high x */
46 if(jj0<0) { /* |x|<1 */
50 i = (0x000fffff)>>jj0;
62 } else if (jj0>51) { /* no fraction part */
65 if (jj0 == 0x400) /* +-inf or NaN */
71 i = ((u_int32_t)(0xffffffff))>>(jj0-20);
H A Ds_rintf.c33 int32_t i0,jj0,sx; local
42 jj0 = ((i0>>23)&0xff)-0x7f;
43 if(jj0<23) {
44 if(jj0<0) {
56 i = (0x007fffff)>>jj0;
59 if((i0&i)!=0) i0 = (i0&(~i))|((0x100000)>>jj0);
62 if(jj0==0x80) return x+x; /* inf or NaN */
H A Ds_cospi.c41 * |x| = jj0 + r with jj0 an integer and the remainder r satisfies
45 * cospi(x) = cos(pi*(jj0+r))
46 * = cos(pi*jj0) * cos(pi*r) - sin(pi*jj0) * sin(pi*r)
47 * = cos(pi*jj0) * cos(pi*r)
50 * If jj0 is even, then cos(pi*jj0) = 1. If jj0 is odd, then cos(pi*jj0)
85 uint32_t hx, ix, jj0, lx; local
[all...]
H A Ds_cospif.c51 uint32_t ix, jj0; local
79 FFLOORF(x, jj0, ix); /* Integer part of ax. */
97 jj0 = (uint32_t)x;
98 return (jj0 & 1 ? -c : c);
H A Ds_tanpif.c66 uint32_t hx, ix, jj0; local
93 FFLOORF(x, jj0, ix); /* Integer part of ax. */

Completed in 98 milliseconds