Home
last modified time | relevance | path

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

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_ceil.c35 int32_t i0,i1,j0; in ceil() local
38 j0 = ((i0>>20)&0x7ff)-0x3ff; in ceil()
39 if(j0<20) { in ceil()
40 if(j0<0) { /* raise inexact if x != 0 */ in ceil()
46 i = (0x000fffff)>>j0; in ceil()
49 if(i0>0) i0 += (0x00100000)>>j0; in ceil()
53 } else if (j0>51) { in ceil()
54 if(j0==0x400) return x+x; /* inf or NaN */ in ceil()
57 i = ((u_int32_t)(0xffffffff))>>(j0-20); in ceil()
61 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_rint.c40 int32_t i0,j0,sx; in rint() local
45 j0 = ((i0>>20)&0x7ff)-0x3ff; in rint()
46 if(j0<20) { in rint()
47 if(j0<0) { in rint()
59 i = (0x000fffff)>>j0; in rint()
71 if(j0==19) i1 = 0x40000000; else in rint()
72 if(j0==18) i1 = 0x80000000; else in rint()
73 i0 = (i0&(~i))|((0x20000)>>j0); in rint()
76 } else if (j0>51) { in rint()
77 if(j0==0x400) return x+x; /* inf or NaN */ in rint()
[all …]
Ds_trunc.c35 int32_t i0,i1,j0; in trunc() local
38 j0 = ((i0>>20)&0x7ff)-0x3ff; in trunc()
39 if(j0<20) { in trunc()
40 if(j0<0) { /* raise inexact if x != 0 */ in trunc()
46 i = (0x000fffff)>>j0; in trunc()
52 } else if (j0>51) { in trunc()
53 if(j0==0x400) return x+x; /* inf or NaN */ in trunc()
56 i = ((u_int32_t)(0xffffffff))>>(j0-20); in trunc()
Ds_ceilf.c27 int32_t i0,j0; in ceilf() local
31 j0 = ((i0>>23)&0xff)-0x7f; in ceilf()
32 if(j0<23) { in ceilf()
33 if(j0<0) { /* raise inexact if x != 0 */ in ceilf()
39 i = (0x007fffff)>>j0; in ceilf()
42 if(i0>0) i0 += (0x00800000)>>j0; in ceilf()
47 if(j0==0x80) return x+x; /* inf or NaN */ in ceilf()
Ds_floorf.c36 int32_t i0,j0; in floorf() local
39 j0 = ((i0>>23)&0xff)-0x7f; in floorf()
40 if(j0<23) { in floorf()
41 if(j0<0) { /* raise inexact if x != 0 */ in floorf()
48 i = (0x007fffff)>>j0; in floorf()
51 if(i0<0) i0 += (0x00800000)>>j0; in floorf()
56 if(j0==0x80) return x+x; /* inf or NaN */ in floorf()
Ds_modf.c35 int32_t i0,i1,j0; in modf() local
38 j0 = ((i0>>20)&0x7ff)-0x3ff; /* exponent of x */ in modf()
39 if(j0<20) { /* integer part in high x */ in modf()
40 if(j0<0) { /* |x|<1 */ in modf()
44 i = (0x000fffff)>>j0; in modf()
56 } else if (j0>51) { /* no fraction part */ in modf()
58 if (j0 == 0x400) { /* inf/NaN */ in modf()
67 i = ((u_int32_t)(0xffffffff))>>(j0-20); in modf()
Ds_truncf.c33 int32_t i0,j0; in truncf() local
36 j0 = ((i0>>23)&0xff)-0x7f; in truncf()
37 if(j0<23) { in truncf()
38 if(j0<0) { /* raise inexact if x != 0 */ in truncf()
42 i = (0x007fffff)>>j0; in truncf()
48 if(j0==0x80) return x+x; /* inf or NaN */ in truncf()
Ds_rintf.c34 int32_t i0,j0,sx; in rintf() local
38 j0 = ((i0>>23)&0xff)-0x7f; in rintf()
39 if(j0<23) { in rintf()
40 if(j0<0) { in rintf()
51 if(j0==0x80) return x+x; /* inf or NaN */ in rintf()
Ds_modff.c27 int32_t i0,j0; in modff() local
30 j0 = ((i0>>23)&0xff)-0x7f; /* exponent of x */ in modff()
31 if(j0<23) { /* integer part in x */ in modff()
32 if(j0<0) { /* |x|<1 */ in modff()
36 i = (0x007fffff)>>j0; in modff()
Dmath_private.h850 #define __ieee754_j0 j0
/bionic/libc/upstream-openbsd/lib/libc/crypt/
Dchacha_private.h92 u32 j0, j1, j2, j3, j4, j5, j6, j7, j8, j9, j10, j11, j12, j13, j14, j15; in chacha_encrypt_bytes() local
99 j0 = x->input[0]; in chacha_encrypt_bytes()
123 x0 = j0; in chacha_encrypt_bytes()
149 x0 = PLUS(x0,j0); in chacha_encrypt_bytes()
/bionic/libm/
Dlibm.map.txt157 j0;
/bionic/tests/headers/posix/
Dmath_h.c223 FUNCTION(j0, double (*f)(double)); in math_h()
/bionic/libc/include/
Dmath.h332 double j0(double __x);
/bionic/tests/
Dmath_test.cpp1488 TEST(MATH_TEST, j0) { in TEST() argument
1489 ASSERT_DOUBLE_EQ(1.0, j0(0.0)); in TEST()
1490 ASSERT_DOUBLE_EQ(0.76519768655796661, j0(1.0)); in TEST()
/bionic/libc/tools/
Dposix-2013.txt480 j0