Home
last modified time | relevance | path

Searched refs:two (Results 1 – 25 of 55) sorted by relevance

123

/picolibc-latest/newlib/libm/test/
Dstring.c77 static char two[50]; variable
103 (void) strcpy(two, "hi there"); in test_string()
104 (void) strcpy(one, two); in test_string()
106 equal(two, "hi there"); /* Stomped on source? */ in test_string()
123 (void) strcpy(two, "ef"); in test_string()
124 (void) strcat(one, two); in test_string()
126 equal(two, "ef"); /* Stomped on source? */ in test_string()
151 (void) strcpy(two, "ef"); in test_string()
152 (void) strncat(one, two, 99); in test_string()
154 equal(two, "ef"); /* Stomped on source? */ in test_string()
[all …]
/picolibc-latest/newlib/libm/math/
Dsf_tanh.c18 static const float one = 1.0, two = 2.0; variable
42 t = expm1f(two * fabsf(x)); in tanhf()
43 z = one - two / (t + two); in tanhf()
45 t = expm1f(-two * fabsf(x)); in tanhf()
46 z = -t / (t + two); in tanhf()
Ds_tanh.c75 static const __float64 one = _F_64(1.0), two = _F_64(2.0); variable
100 t = expm164(two * fabs64(x)); in tanh64()
101 z = one - two / (t + two); in tanh64()
103 t = expm164(-two * fabs64(x)); in tanh64()
104 z = -t / (t + two); in tanh64()
Dsf_jn.c18 static const float two = 2.0000000000e+00, /* 0x40000000 */ variable
136 v = two / x; in jnf()
144 di -= two; in jnf()
152 di -= two; in jnf()
Ds_jn.c45 two = _F_64(2.00000000000000000000e+00), /* 0x40000000, 0x00000000 */ variable
199 v = two / x; in jn64()
207 di -= two; in jn64()
215 di -= two; in jn64()
Dsf_erf.c25 two = 2.0000000000e+00, /* 0x40000000 */ variable
227 return two - tiny; /* x < -6 */ in erfcf()
243 return two - r / x; in erfcf()
248 return two - tiny; in erfcf()
Ds_erf.c161 two = _F_64(2.00000000000000000000e+00), /* 0x40000000, 0x00000000 */ variable
364 return two - tiny; /* x < -6 */ in _MATH_ALIAS_d_d()
380 return two - r / x; in _MATH_ALIAS_d_d()
385 return two - tiny; in _MATH_ALIAS_d_d()
Dsf_pow.c31 two = 2.0, variable
282 r = (z * t1) / (t1 - two) - (w + z * w); in powf()
Ds_pow.c72 two = _F_64(2.0), variable
345 r = (z * t1) / (t1 - two) - (w + z * w); in pow64()
/picolibc-latest/newlib/libm/ld/ld128/
Ds_tanhl.c55 static const long double one = 1.0L, two = 2.0L, tiny = 1.0e-4900L; variable
88 t = expm1l (two * u.value); in tanhl()
89 z = one - two / (t + two); in tanhl()
93 t = expm1l (-two * u.value); in tanhl()
94 z = -t / (t + two); in tanhl()
Ds_erfl.c136 two = 2.0L, variable
881 return two - tiny; in erfcl()
923 return two - r / x; in erfcl()
930 return two - tiny; in erfcl()
/picolibc-latest/newlib/libm/ld/ld80/
Ds_tanhl.c39 static const long double one=1.0L, two=2.0L, tiny = 1.0e-4900L; variable
66 t = expm1l(two*fabsl(x)); in tanhl()
67 z = one - two/(t+two); in tanhl()
69 t = expm1l(-two*fabsl(x)); in tanhl()
70 z= -t/(t+two); in tanhl()
Ds_erfl.c108 two = 2.0L, variable
402 return two - tiny; /* x < -6.666 */ in erfcl()
419 return two - r / x; in erfcl()
426 return two - tiny; in erfcl()
/picolibc-latest/test/
Dfenv.c67 volatile test_t two = 2.0; variable
218 TEST_CASE(test_pow(two, huge), FE_OVERFLOW); in main()
222 TEST_CASE(test_pow(two, -huge), FE_UNDERFLOW); in main()
232 TEST_CASE(test_remainder(inf, two), FE_INVALID); in main()
233 TEST_CASE(test_sqrt(-two), FE_INVALID); in main()
Dmath_errhandling_tests.c41 volatile const FLOAT_T makemathname(two) = (FLOAT_T) 2.0;
88 static FLOAT_T makemathname(test_acos_2)(void) { return makemathname(acos)(makemathname(two)); } in makemathname()
94 …athname(test_acosh_half)(void) { return makemathname(acosh)(makemathname(one)/makemathname(two)); } in makemathname()
100 static FLOAT_T makemathname(test_asin_2)(void) { return makemathname(asin)(makemathname(two)); } in makemathname()
124 static FLOAT_T makemathname(test_atanh_2)(void) { return makemathname(atanh)(makemathname(two)); } in makemathname()
125 static FLOAT_T makemathname(test_atanh_neg2)(void) { return makemathname(atanh)(-makemathname(two))… in makemathname()
145 static FLOAT_T makemathname(test_drem_0)(void) { return makemathname(drem)(makemathname(two), makem… in makemathname()
150 …name(test_drem_inf_2)(void) { return makemathname(drem)(makemathname(infval), makemathname(two)); } in makemathname()
152 static FLOAT_T makemathname(test_drem_2_0)(void) { return makemathname(drem)(makemathname(two), mak… in makemathname()
153 …emathname(test_drem_1_2)(void) { return makemathname(drem)(makemathname(one), makemathname(two)); } in makemathname()
[all …]
/picolibc-latest/newlib/libm/machine/spu/headers/
Dcbrtf.h59 vec_double2 two = VEC_SPLAT_F64(2.0); in _cbrtf() local
104 a0 = spu_mul(spu_mul(factor0, u0), spu_madd(two, mant0, u0_3)); in _cbrtf()
105 b0 = spu_madd(two, u0_3, mant0); in _cbrtf()
Dcbrt.h60 vec_double2 two = VEC_SPLAT_F64(2.0); in _cbrt() local
109 a = spu_mul(spu_mul(factor, u), spu_madd(two, mant, u3)); in _cbrt()
110 b = spu_madd(two, u3, mant); in _cbrt()
Dacosf4.h70 vec_float4 two = spu_splats(2.0f); in _acosf4() local
135 vec_float4 result1 = spu_mul(two,spu_add(df,w2)); in _acosf4()
136 vec_float4 result2 = spu_nmsub(two,spu_add(s,w1),pi); in _acosf4()
Dremainderf.h52 vec_float4 two = { 2.0f, 2.0f, 2.0f, 2.0f }; in _remainderf() local
132 …bias = spu_andc(bias, spu_rlmaska((vec_uint4)spu_msub((vec_float4)abs_x, two, (vec_float4)abs_y), … in _remainderf()
/picolibc-latest/newlib/libc/reent/
Dreent.tex36 available in two versions. The first version has the usual name, and
42 For example, the function @code{fopen} takes two arguments, @var{file}
48 There are two versions of @samp{struct _reent}, a normal one and one
57 This means that you have two ways to achieve reentrancy. Both require
/picolibc-latest/newlib/libc/stdlib/
Dstdlib.tex23 * Function div:: Divide two integers
32 * Function ldiv:: Divide two long integers
34 * Function lldiv:: Divide two long long integers
/picolibc-latest/newlib/libc/machine/m32c/
Dsetjmp.S71 mov.w #19,r3 ; plus two for sp later
/picolibc-latest/newlib/libc/machine/i960/
Dstrlen.S88 ldl (g0),g4 # fetch first two words
/picolibc-latest/newlib/libc/machine/m68k/
Dmemcpy.S63 and.l #3,d0 | look for the lower two only
/picolibc-latest/doc/
Dos.md74 `stderr` values, the latter two of which are simply aliases to `stdin`:
114 application linking process needs to define two symbols:
119 The sample linker script provided with picolibc defines these two

123