/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_ceilf.c | 27 int32_t i0,j0; local 31 j0 = ((i0>>23)&0xff)-0x7f; 32 if(j0<23) { 33 if(j0<0) { /* raise inexact if x != 0 */ 39 i = (0x007fffff)>>j0; 42 if(i0>0) i0 += (0x00800000)>>j0; 47 if(j0==0x80) return x+x; /* inf or NaN */
|
s_floorf.c | 36 int32_t i0,j0; local 39 j0 = ((i0>>23)&0xff)-0x7f; 40 if(j0<23) { 41 if(j0<0) { /* raise inexact if x != 0 */ 48 i = (0x007fffff)>>j0; 51 if(i0<0) i0 += (0x00800000)>>j0; 56 if(j0==0x80) return x+x; /* inf or NaN */
|
s_truncf.c | 33 int32_t i0,j0; local 36 j0 = ((i0>>23)&0xff)-0x7f; 37 if(j0<23) { 38 if(j0<0) { /* raise inexact if x != 0 */ 42 i = (0x007fffff)>>j0; 48 if(j0==0x80) return x+x; /* inf or NaN */
|
s_trunc.c | 35 int32_t i0,i1,j0; local 38 j0 = ((i0>>20)&0x7ff)-0x3ff; 39 if(j0<20) { 40 if(j0<0) { /* raise inexact if x != 0 */ 46 i = (0x000fffff)>>j0; 52 } else if (j0>51) { 53 if(j0==0x400) return x+x; /* inf or NaN */ 56 i = ((u_int32_t)(0xffffffff))>>(j0-20);
|
s_rint.c | 40 int32_t i0,j0,sx; local 45 j0 = ((i0>>20)&0x7ff)-0x3ff; 46 if(j0<20) { 47 if(j0<0) { 59 i = (0x000fffff)>>j0; 67 * guard bit. We do this for all j0<=51. The 68 * adjustment is trickiest for j0==18 and j0==19 71 if(j0==19) i1 = 0x40000000; else 72 if(j0==18) i1 = 0x80000000; els [all...] |
s_ceil.c | 35 int32_t i0,i1,j0; local 38 j0 = ((i0>>20)&0x7ff)-0x3ff; 39 if(j0<20) { 40 if(j0<0) { /* raise inexact if x != 0 */ 46 i = (0x000fffff)>>j0; 49 if(i0>0) i0 += (0x00100000)>>j0; 53 } else if (j0>51) { 54 if(j0==0x400) return x+x; /* inf or NaN */ 57 i = ((u_int32_t)(0xffffffff))>>(j0-20); 61 if(j0==20) i0+=1 [all...] |
s_floor.c | 35 int32_t i0,i1,j0; local 38 j0 = ((i0>>20)&0x7ff)-0x3ff; 39 if(j0<20) { 40 if(j0<0) { /* raise inexact if x != 0 */ 47 i = (0x000fffff)>>j0; 50 if(i0<0) i0 += (0x00100000)>>j0; 54 } else if (j0>51) { 55 if(j0==0x400) return x+x; /* inf or NaN */ 58 i = ((u_int32_t)(0xffffffff))>>(j0-20); 62 if(j0==20) i0+=1 [all...] |
s_modf.c | 35 int32_t i0,i1,j0; local 38 j0 = ((i0>>20)&0x7ff)-0x3ff; /* exponent of x */ 39 if(j0<20) { /* integer part in high x */ 40 if(j0<0) { /* |x|<1 */ 44 i = (0x000fffff)>>j0; 56 } else if (j0>51) { /* no fraction part */ 58 if (j0 == 0x400) { /* inf/NaN */ 67 i = ((u_int32_t)(0xffffffff))>>(j0-20);
|
s_modff.c | 27 int32_t i0,j0; local 30 j0 = ((i0>>23)&0xff)-0x7f; /* exponent of x */ 31 if(j0<23) { /* integer part in x */ 32 if(j0<0) { /* |x|<1 */ 36 i = (0x007fffff)>>j0;
|
s_rintf.c | 34 int32_t i0,j0,sx; local 38 j0 = ((i0>>23)&0xff)-0x7f; 39 if(j0<23) { 40 if(j0<0) { 51 if(j0==0x80) return x+x; /* inf or NaN */
|
/device/linaro/bootloader/edk2/StdLib/LibC/Math/ |
s_ceil.c | 35 int32_t i0,i1,j0;
local 39 j0 = ((i0>>20)&0x7ff)-0x3ff;
40 if(j0<20) {
41 if(j0<0) { /* raise inexact if x != 0 */
47 i = (0x000fffff)>>j0;
50 if(i0>0) i0 += (0x00100000)>>j0;
54 } else if (j0>51) {
55 if(j0==0x400) return x+x; /* inf or NaN */
58 i = ((u_int32_t)(0xffffffff))>>(j0-20);
62 if(j0==20) i0+=1; [all...] |
s_floor.c | 35 int32_t i0,i1,j0;
local 38 j0 = ((i0>>20)&0x7ff)-0x3ff;
39 if(j0<20) {
40 if(j0<0) { /* raise inexact if x != 0 */
47 i = (0x000fffff)>>j0;
50 if(i0<0) i0 += (0x00100000)>>j0;
54 } else if (j0>51) {
55 if(j0==0x400) return x+x; /* inf or NaN */
58 i = ((u_int32_t)(0xffffffff))>>(j0-20);
62 if(j0==20) i0+=1; [all...] |
s_modf.c | 36 int32_t i0,i1,j0;
local 39 j0 = ((i0>>20)&0x7ff)-0x3ff; /* exponent of x */
40 if(j0<20) { /* integer part in high x */
41 if(j0<0) { /* |x|<1 */
45 i = (0x000fffff)>>j0;
57 } else if (j0>51) { /* no fraction part */
64 i = ((u_int32_t)(0xffffffff))>>(j0-20);
|
/external/fdlibm/ |
s_ceil.c | 38 int i0,i1,j0; local 42 j0 = ((i0>>20)&0x7ff)-0x3ff; 43 if(j0<20) { 44 if(j0<0) { /* raise inexact if x != 0 */ 50 i = (0x000fffff)>>j0; 53 if(i0>0) i0 += (0x00100000)>>j0; 57 } else if (j0>51) { 58 if(j0==0x400) return x+x; /* inf or NaN */ 61 i = ((unsigned)(0xffffffff))>>(j0-20); 65 if(j0==20) i0+=1; [all...] |
s_floor.c | 38 int i0,i1,j0; local 42 j0 = ((i0>>20)&0x7ff)-0x3ff; 43 if(j0<20) { 44 if(j0<0) { /* raise inexact if x != 0 */ 51 i = (0x000fffff)>>j0; 54 if(i0<0) i0 += (0x00100000)>>j0; 58 } else if (j0>51) { 59 if(j0==0x400) return x+x; /* inf or NaN */ 62 i = ((unsigned)(0xffffffff))>>(j0-20); 66 if(j0==20) i0+=1; [all...] |
s_rint.c | 43 int i0,j0,sx; local 49 j0 = ((i0>>20)&0x7ff)-0x3ff; 50 if(j0<20) { 51 if(j0<0) { 63 i = (0x000fffff)>>j0; 67 if(j0==19) i1 = 0x40000000; else 68 i0 = (i0&(~i))|((0x20000)>>j0); 71 } else if (j0>51) { 72 if(j0==0x400) return x+x; /* inf or NaN */ 75 i = ((unsigned)(0xffffffff))>>(j0-20) [all...] |
s_modf.c | 39 int i0,i1,j0; local 43 j0 = ((i0>>20)&0x7ff)-0x3ff; /* exponent of x */ 44 if(j0<20) { /* integer part in high x */ 45 if(j0<0) { /* |x|<1 */ 50 i = (0x000fffff)>>j0; 62 } else if (j0>51) { /* no fraction part */ 68 i = ((unsigned)(0xffffffff))>>(j0-20);
|
/device/google/contexthub/firmware/lib/libm/ |
sf_floor.c | 40 __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;
|
/external/ltp/testcases/misc/math/float/ |
float_bessel.c | 29 {FUNC_NORMAL, 30, j0, "j0", "j0_inp.ref", "j0_out.ref2",
|
/external/webrtc/webrtc/modules/audio_processing/aec/ |
aec_rdft_sse2.c | 84 int j0; local 87 for (j0 = 0; j0 < l; j0 += 2) { 88 const __m128i a_00 = _mm_loadl_epi64((__m128i*)&a[j0 + 0]); 89 const __m128i a_08 = _mm_loadl_epi64((__m128i*)&a[j0 + 8]); 90 const __m128i a_32 = _mm_loadl_epi64((__m128i*)&a[j0 + 32]); 91 const __m128i a_40 = _mm_loadl_epi64((__m128i*)&a[j0 + 40]); 101 const __m128i a_16 = _mm_loadl_epi64((__m128i*)&a[j0 + 16]); 102 const __m128i a_24 = _mm_loadl_epi64((__m128i*)&a[j0 + 24]) [all...] |
aec_rdft.c | 311 int j0, j1, j2, j3, k, k1, k2, m2; local 315 for (j0 = 0; j0 < l; j0 += 2) { 316 j1 = j0 + 8; 317 j2 = j0 + 16; 318 j3 = j0 + 24; 319 x0r = a[j0 + 0] + a[j1 + 0]; 320 x0i = a[j0 + 1] + a[j1 + 1]; 321 x1r = a[j0 + 0] - a[j1 + 0] [all...] |
/external/eigen/test/ |
sparse_block.cpp | 126 Index j0 = internal::random<Index>(0,outer-1); local 131 VERIFY_IS_APPROX(m2.innerVector(j0), innervec(refMat2,j0)); 132 VERIFY_IS_APPROX(m2.innerVector(j0)+m2.innerVector(j1), innervec(refMat2,j0)+innervec(refMat2,j1)); 134 m2.innerVector(j0) *= Scalar(2); 135 innervec(refMat2,j0) *= Scalar(2); 177 VERIFY(m3.innerVector(j0).nonZeros() == m3.transpose().innerVector(j0).nonZeros()); 179 // m2.innerVector(j0) = 2*m2.innerVector(j1) 190 Index j0 = internal::random<Index>(0,outer-2); local 222 Index j0 = internal::random<Index>(0,outer-2); local [all...] |
/frameworks/rs/driver/runtime/ |
rs_f16_math.c | 83 short i0, j0; local 86 j0 = ((i0 >> 10) & 0x1f) - 15; // exponent of x 87 if (j0 < 10) { 88 if (j0 < 0) { // No integral part 93 i = 0x03ff >> j0; // mask to check fractional parts of x
|
/prebuilts/go/darwin-x86/src/math/ |
j0.go | 27 // Method -- j0(x): 28 // 1. For tiny x, we use j0(x) = 1 - x**2/4 + x**4/64 - ... 29 // 2. Reduce x to |x| since j0(x)=j0(-x), and 31 // j0(x) = 1-z/4+ z**2*R0/S0, where z = x*x; 32 // (precision: |j0-1+z/4-z**2R0/S0 |<2**-63.67 ) 34 // j0(x) = sqrt(2/(pi*x))*(p0(x)*cos(x0)-q0(x)*sin(x0)) 46 // j0(nan)= nan 47 // j0(0) = 1 48 // j0(inf) = [all...] |
/prebuilts/go/linux-x86/src/math/ |
j0.go | 27 // Method -- j0(x): 28 // 1. For tiny x, we use j0(x) = 1 - x**2/4 + x**4/64 - ... 29 // 2. Reduce x to |x| since j0(x)=j0(-x), and 31 // j0(x) = 1-z/4+ z**2*R0/S0, where z = x*x; 32 // (precision: |j0-1+z/4-z**2R0/S0 |<2**-63.67 ) 34 // j0(x) = sqrt(2/(pi*x))*(p0(x)*cos(x0)-q0(x)*sin(x0)) 46 // j0(nan)= nan 47 // j0(0) = 1 48 // j0(inf) = [all...] |