Home
last modified time | relevance | path

Searched refs:one (Results 1 – 25 of 230) sorted by relevance

12345678910

/AliOS-Things-master/components/py_engine/engine/lib/libm/
A Dsf_erf.c40 one = 1.0000000000e+00f, /* 0x3F800000 */ variable
142 s = fabsf(x)-one;
148 if(hx>=0) return one-tiny; else return tiny-one;
151 s = one/(x*x);
166 if(hx>=0) return one-r/x; else return r/x-one;
187 return one-x;
193 return one-(x+x*y);
201 s = fabsf(x)-one;
205 z = one-erx; return z - P/Q;
207 z = erx+P/Q; return one+z;
[all …]
A Derf_lgamma.c37 one = 1.0000000000e+00f, /* 0x3f800000 */ variable
174 if(ix==0) return one/zero;
183 return one/zero;
185 if(t==zero) return one/zero; /* -integer */
197 if(ix>=0x3f3b4a20) {y = one-x; i= 0;}
198 else if(ix>=0x3e6d3308) {y= x-(tc-one); i=1;}
204 else {y=x-one;i=2;}
223 p2 = one+y*(v1+y*(v2+y*(v3+y*(v4+y*v5))));
246 z = one/x;
249 r = (x-half)*(t-one)+w;
[all …]
A Def_sqrt.c28 static const float one = 1.0f, tiny=1.0e-30f; variable
30 static float one = 1.0f, tiny=1.0e-30f; variable
89 z = one-tiny; /* trigger inexact flag */ in sqrtf()
90 if (z>=one) { in sqrtf()
91 z = one+tiny; in sqrtf()
92 if (z>one) in sqrtf()
A Dkf_cos.c32 one = 1.0000000000e+00f, /* 0x3f800000 */ variable
52 if(((int)x)==0) return one; /* generate inexact */
57 return one - ((float)0.5*z - (z*r - x*y));
65 a = one-qx;
A Dsf_modf.c28 static const float one = 1.0f; variable
30 static float one = 1.0f; variable
63 *iptr = x*one;
A Dkf_tan.c31 one = 1.0000000000e+00f, /* 0x3f800000 */ variable
63 if((ix|(iy+1))==0) return one/fabsf(x);
64 else return (iy==1)? x: -one/x;
A Dkf_rem_pio2.c60 one = 1.0f, variable
135 z = one - z;
136 if(carry!=0) z -= scalbnf(one,(int)q0);
172 fw = scalbnf(one,(int)q0);
/AliOS-Things-master/components/SDL2/src/libm/
A Ds_atan.c68 one = 1.0, variable
88 if(huge+x>one) return x; /* raise inexact */ in atan()
95 id = 0; x = (2.0*x-one)/(2.0+x); in atan()
97 id = 1; x = (x-one)/(x+one); in atan()
101 id = 2; x = (x-1.5)/(one+1.5*x); in atan()
A Dk_cos.c51 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable
66 if(((int)x)==0) return one; /* generate inexact */ in __kernel_cos()
71 return one - (0.5*z - (z*r - x*y)); in __kernel_cos()
79 a = one-qx; in __kernel_cos()
A De_exp.c83 one = 1.0, variable
146 if(huge+x>one) return one+x;/* trigger inexact */ in __ieee754_exp()
153 if(k==0) return one-((x*c)/(c-2.0)-x); in __ieee754_exp()
154 else y = one-((lo-(x*c)/(2.0-c))-hi); in __ieee754_exp()
A De_sqrt.c85 static const double one = 1.0, tiny = 1.0e-300; variable
164 z = one-tiny; /* trigger inexact flag */ in __ieee754_sqrt()
165 if (z>=one) { in __ieee754_sqrt()
166 z = one+tiny; in __ieee754_sqrt()
168 else if (z>one) { in __ieee754_sqrt()
A De_pow.c75 one = 1.0, variable
122 if((iy|ly)==0) return one; in __ieee754_pow()
153 return one; /* +-1**+-inf is 1 (yes, weird rule) */ in __ieee754_pow()
160 if(hy<0) return one/x; else return x; in __ieee754_pow()
174 if(hy<0) z = one/z; /* z = (1/|x|) */ in __ieee754_pow()
223 v = one/(ax+bp[k]); in __ieee754_pow()
256 s = one; /* s (sign of result -ve**odd) = -1 else = 1 */ in __ieee754_pow()
258 s = -one;/* (-ve)**(odd int) */ in __ieee754_pow()
304 z = one-(r-z); in __ieee754_pow()
A Dk_tan.c50 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable
79 if(((ix|low)|(iy+1))==0) return one/fabs(x); in __kernel_tan()
80 else return (iy==1)? x: -one/x; in __kernel_tan()
A Dk_rem_pio2.c148 one = 1.0, variable
230 z = one - z; in __kernel_rem_pio2()
231 if(carry!=0) z -= scalbn(one,q0); in __kernel_rem_pio2()
268 fw = scalbn(one,q0); in __kernel_rem_pio2()
/AliOS-Things-master/components/SDL2/src/audio/
A DSDL_audiotypecvt.c579 const __m128 one = _mm_set1_ps(1.0f); in SDL_Convert_F32_to_S8_SSE2() local
639 const __m128 one = _mm_set1_ps(1.0f); in SDL_Convert_F32_to_U8_SSE2() local
699 const __m128 one = _mm_set1_ps(1.0f); in SDL_Convert_F32_to_S16_SSE2() local
766 const __m128 one = _mm_set1_ps(1.0f); in SDL_Convert_F32_to_U16_SSE2() local
823 const __m128 one = _mm_set1_ps(1.0f); in SDL_Convert_F32_to_S32_SSE2() local
1113 const float32x4_t one = vdupq_n_f32(1.0f); in SDL_Convert_F32_to_S8_NEON() local
1175 const float32x4_t one = vdupq_n_f32(1.0f); in SDL_Convert_F32_to_U8_NEON() local
1180 …32_f32(vmulq_f32(vaddq_f32(vminq_f32(vmaxq_f32(negone, vld1q_f32(src)), one), one), mulby127)); /… in SDL_Convert_F32_to_U8_NEON()
1238 const float32x4_t one = vdupq_n_f32(1.0f); in SDL_Convert_F32_to_S16_NEON() local
1296 const float32x4_t one = vdupq_n_f32(1.0f); in SDL_Convert_F32_to_U16_NEON() local
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/apps/
A DFILES2 Every application shall provide one api file APP.h and optionally one options file APP_opts.h
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/apps/
A DFILES2 Every application shall provide one api file APP.h and optionally one options file APP_opts.h
/AliOS-Things-master/components/py_engine/tests/float/
A Dfloat2int_fp30_intbig.py27 one = 1 variable
28 if one << 65 < one << 62:
A Dfloat2int_intbig.py27 one = 1 variable
28 if one << 65 < one << 62:
A Dfloat2int_doubleprec_intbig.py27 one = 1 variable
28 if one << 65 < one << 62:
/AliOS-Things-master/components/mbedtls/platform/yoc/include/
A DREADME.txt7 These files are complete replacements for the default config.h. To use one of
8 them, you can pick one of the following methods:
10 1. Replace the default file include/mbedtls/config.h with the chosen one.
/AliOS-Things-master/components/mbedtls/library/
A Decjpake.c557 mbedtls_mpi one; in ecjpake_ecp_add3() local
559 mbedtls_mpi_init( &one ); in ecjpake_ecp_add3()
561 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &one, 1 ) ); in ecjpake_ecp_add3()
562 MBEDTLS_MPI_CHK( mbedtls_ecp_muladd( grp, R, &one, A, &one, B ) ); in ecjpake_ecp_add3()
563 MBEDTLS_MPI_CHK( mbedtls_ecp_muladd( grp, R, &one, R, &one, C ) ); in ecjpake_ecp_add3()
566 mbedtls_mpi_free( &one ); in ecjpake_ecp_add3()
755 mbedtls_mpi m_xm2_s, one; in mbedtls_ecjpake_derive_secret() local
770 mbedtls_mpi_init( &one ); in mbedtls_ecjpake_derive_secret()
772 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &one, 1 ) ); in mbedtls_ecjpake_derive_secret()
782 &one, &ctx->Xp, in mbedtls_ecjpake_derive_secret()
[all …]
/AliOS-Things-master/components/SDL2/docs/
A DREADME-dynapi.md13 - Even if we replace the SDL2 in those games with a compatible one, that is to
23 a non-Steam build plus a Steam build (that is, one with and one without SDL2
24 included), which is inconvenient if you could have had one universal build
44 every one of these.
68 with a newer, or better, SDL. The statically linked one will only be used as
111 inconceivable to have a small dispatch library that only supplies this one
113 right one initialize the jump table based on the version. For something that
124 designed in SDL, you just have to change one #define, and the entire system
126 macro magic, so the system is contained to one C file and a few headers.
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/core/option/
A Drtw_opt_crypto_ssl.c408 mbedtls_mpi one; in rtw_crypto_ecc_point_add_point() local
410 mbedtls_mpi_init(&one); in rtw_crypto_ecc_point_add_point()
412 MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&one,1)); in rtw_crypto_ecc_point_add_point()
413 MBEDTLS_MPI_CHK(mbedtls_ecp_muladd(ecc,X,&one,A,&one,B)); in rtw_crypto_ecc_point_add_point()
418 mbedtls_mpi_free(&one); in rtw_crypto_ecc_point_add_point()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/conftest/
A Dread.dfa12 # read API - the one where the calling code has to use a loop to read each row.
27 # one or the other for both the API and the internal math.
57 # one - see png.h and s_read.dfa.

Completed in 42 milliseconds

12345678910