Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/glibc-2.36/math/
Dauto-libm-test-out-exp1 exp 0
2 = exp downward binary32 0x0p+0 : 0x1p+0 : inexact-ok
3 = exp tonearest binary32 0x0p+0 : 0x1p+0 : inexact-ok
4 = exp towardzero binary32 0x0p+0 : 0x1p+0 : inexact-ok
5 = exp upward binary32 0x0p+0 : 0x1p+0 : inexact-ok
6 = exp downward binary64 0x0p+0 : 0x1p+0 : inexact-ok
7 = exp tonearest binary64 0x0p+0 : 0x1p+0 : inexact-ok
8 = exp towardzero binary64 0x0p+0 : 0x1p+0 : inexact-ok
9 = exp upward binary64 0x0p+0 : 0x1p+0 : inexact-ok
10 = exp downward intel96 0x0p+0 : 0x1p+0 : inexact-ok
[all …]
Dlibm-test-exp.inc1 /* Test exp.
23 TEST_f_f (exp, plus_infty, plus_infty, ERRNO_UNCHANGED),
24 TEST_f_f (exp, minus_infty, 0, ERRNO_UNCHANGED),
25 TEST_f_f (exp, qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
26 TEST_f_f (exp, -qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
27 TEST_f_f (exp, snan_value, qnan_value, INVALID_EXCEPTION),
28 TEST_f_f (exp, -snan_value, qnan_value, INVALID_EXCEPTION),
30 AUTO_TESTS_f_f (exp),
36 ALL_RM_TEST (exp, 0, exp_test_data, RUN_TEST_LOOP_f_f, END);
/glibc-2.36/intl/
Dplural.y57 struct expression *exp;
153 %type <exp> exp
157 start: exp
165 exp: exp '?' exp ':' exp
169 | exp '|' exp
173 | exp '&' exp
177 | exp EQUOP2 exp
181 | exp CMPOP2 exp
185 | exp ADDOP2 exp
189 | exp MULOP2 exp
[all …]
/glibc-2.36/sunrpc/
Dxdr_float.c57 unsigned int exp : 8; member
64 unsigned int exp : 8; member
101 (vs.exp == lim->s.exp) && in xdr_float()
107 is.exp = vs.exp - VAX_SNG_BIAS + IEEE_SNG_BIAS; in xdr_float()
130 if ((is.exp == lim->ieee.exp) && in xdr_float()
136 vsp->exp = is.exp - IEEE_SNG_BIAS + VAX_SNG_BIAS; in xdr_float()
170 unsigned int exp : 11; member
178 unsigned int exp : 8; member
224 (vd.exp == lim->d.exp)) { in xdr_double()
229 id.exp = vd.exp - VAX_DBL_BIAS + IEEE_DBL_BIAS; in xdr_double()
[all …]
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/
Ds_fmal.c49 int exp; member
57 v->val = __frexp (d, &v->exp); in store_ext_val()
72 v0->exp += xexp + yexp; in mul_ext_val()
75 v1->exp += xexp + yexp; in mul_ext_val()
90 else if (pe->exp < qe->exp) in compare()
92 else if (pe->exp > qe->exp) in compare()
113 int xexp = x->exp, yexp = y->exp; in add_split_ext()
121 x->exp += xexp; in add_split_ext()
124 y->exp += xexp; in add_split_ext()
191 vals[9 - i].exp = 0; in __fmal()
[all …]
De_rem_pio2l.c200 int exp; in __ieee754_rem_pio2l() local
247 ldbl_extract_mantissa (&ixd, &lxd, &exp, x); in __ieee754_rem_pio2l()
248 exp = exp - 23; in __ieee754_rem_pio2l()
258 n = __kernel_rem_pio2 (tx, tx + 5, exp, ((lxd << 7) & 0xffffff) ? 5 : 4, in __ieee754_rem_pio2l()
Dmath_ldbl.h30 ldbl_extract_mantissa (int64_t *hi64, uint64_t *lo64, int *exp, long double x) in ldbl_extract_mantissa() argument
40 *exp = u.d[0].ieee.exponent - IEEE754_DOUBLE_BIAS; in ldbl_extract_mantissa()
94 *exp = *exp - 1; in ldbl_extract_mantissa()
108 ldbl_insert_mantissa (int sign, int exp, int64_t hi64, uint64_t lo64) in ldbl_insert_mantissa() argument
116 u.d[0].ieee.exponent = exp + IEEE754_DOUBLE_BIAS; in ldbl_insert_mantissa()
118 expnt2 = exp - 53 + IEEE754_DOUBLE_BIAS; in ldbl_insert_mantissa()
/glibc-2.36/locale/
Dtst-localedef-path-norm.c61 const char *exp; member
73 const char *exp = data->exp; in run_test() local
78 const char *path = xasprintf ("%s/%s", complocaledir, exp); in run_test()
127 .exp = "en_US1.utf8", in do_test()
140 .exp = "en_US2.utf8@tEsT", in do_test()
153 .exp = "en_US3@tEsT.UTF-8", in do_test()
165 .exp = "en_US4.iso88591", in do_test()
177 .exp = "en_US5.a88591", in do_test()
189 .exp = "en_US6.88591a", in do_test()
201 .exp = "en_US7.UTF-8", in do_test()
[all …]
Dtst-C-locale.c47 #define STRTEST(name, exp) \ in run_test() argument
49 if (strcmp (lc->name, exp) != 0) \ in run_test()
52 locname, lc->name, exp); \ in run_test()
67 #define CHARTEST(name, exp) \ in run_test() argument
69 if (lc->name != exp) \ in run_test()
93 #define STRTEST(name, exp) \ in run_test() argument
95 if (strcmp (str, exp) != 0) \ in run_test()
98 "(is \"%s\", should be \"%s\")\n", locname, str, exp); \ in run_test()
101 #define WSTRTEST(name, exp) \ in run_test() argument
103 if (wcscmp (wstr, exp) != 0) \ in run_test()
[all …]
/glibc-2.36/stdio-common/
Dtst-fmemopen3.c43 char exp[32] = "testing bufferXX"; in do_test_write_append() local
53 if (strcmp (buf, exp) != 0) in do_test_write_append()
55 printf ("%s: check failed: %s != %s\n", __FUNCTION__, buf, exp); in do_test_write_append()
68 char exp[] = { 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55 }; in do_test_write_append_without_null() local
84 if (memcmp (buf, exp, sizeof (buf)) != 0) in do_test_write_append_without_null()
89 print_buffer (exp, sizeof (exp)); in do_test_write_append_without_null()
281 char exp[20]; in do_test_write_append_2() local
282 sprintf (exp, "%s%d", str, 101); in do_test_write_append_2()
283 if (memcmp (buf, exp, strlen (exp)) != 0) in do_test_write_append_2()
289 print_buffer (exp, sizeof (exp)); in do_test_write_append_2()
/glibc-2.36/sysdeps/x86_64/fpu/
Dmath_ldbl.h42 #define GET_LDOUBLE_WORDS(exp,ix0,ix1,d) \ argument
46 (exp) = ew_u.parts.sign_exponent; \
53 #define SET_LDOUBLE_WORDS(d,exp,ix0,ix1) \ argument
56 iw_u.parts.sign_exponent = (exp); \
83 #define GET_LDOUBLE_EXP(exp,d) \ argument
87 (exp) = ge_u.parts.sign_exponent; \
92 #define SET_LDOUBLE_EXP(d,exp) \ argument
96 se_u.parts.sign_exponent = (exp); \
/glibc-2.36/sysdeps/ieee754/ldbl-96/
Dmath_ldbl.h62 #define GET_LDOUBLE_WORDS(exp,ix0,ix1,d) \ argument
66 (exp) = ew_u.parts.sign_exponent; \
73 #define SET_LDOUBLE_WORDS(d,exp,ix0,ix1) \ argument
76 iw_u.parts.sign_exponent = (exp); \
103 #define GET_LDOUBLE_EXP(exp,d) \ argument
107 (exp) = ge_u.parts.sign_exponent; \
112 #define SET_LDOUBLE_EXP(d,exp) \ argument
116 se_u.parts.sign_exponent = (exp); \
/glibc-2.36/sysdeps/ia64/fpu/
Dmath_ldbl.h64 #define GET_LDOUBLE_WORDS(exp,ix0,ix1,d) \ argument
68 (exp) = ew_u.parts.sign_exponent; \
75 #define SET_LDOUBLE_WORDS(d,exp,ix0,ix1) \ argument
78 iw_u.parts.sign_exponent = (exp); \
105 #define GET_LDOUBLE_EXP(exp,d) \ argument
109 (exp) = ge_u.parts.sign_exponent; \
114 #define SET_LDOUBLE_EXP(d,exp) \ argument
118 se_u.parts.sign_exponent = (exp); \
De_exp.S277 GLOBAL_IEEE754_ENTRY(exp)
322 setf.exp f2TOM56 = rExp_2tom56 // form 2^-56 for scaling Nfloat
454 setf.exp f2M = rBiased_M
556 setf.exp fGt_pln = rGt_ln // Create largest double + 1 ulp
594 setf.exp fTmp = rTmp
684 setf.exp fTmp = rTmp // Form small normal
739 GLOBAL_IEEE754_END(exp)
740 libm_alias_double_other (__exp, exp)
742 .symver exp,exp@@GLIBC_2.29
745 .symver __exp_compat,exp@GLIBC_2.2
Dlibm_frexp.S128 setf.exp f10 = r15
129 setf.exp f12 = r20
137 setf.exp f11 = r14
182 getf.exp r16 = f9
Dlibm_frexp4.S122 (p0) setf.exp f10 = r15
123 (p0) setf.exp f12 = r20
130 (p0) setf.exp f11 = r14
174 (p0) getf.exp r16 = f9
Dlibm_frexp4f.S122 (p0) setf.exp f10 = r15
123 (p0) setf.exp f12 = r20
130 (p0) setf.exp f11 = r14
174 (p0) getf.exp r16 = f9
Dlibm_frexp4l.S121 (p0) setf.exp f10 = r15
122 (p0) setf.exp f12 = r20
129 (p0) setf.exp f11 = r14
173 (p0) getf.exp r16 = f9
Dlibm_frexpf.S128 setf.exp f10 = r15
129 setf.exp f12 = r20
137 setf.exp f11 = r14
182 getf.exp r16 = f9
Dlibm_frexpl.S128 setf.exp f10 = r15
129 setf.exp f12 = r20
137 setf.exp f11 = r14
182 getf.exp r16 = f9
/glibc-2.36/stdlib/
Dtst-strfrom.h66 const char *exp[4]; member
106 if (strcmp (buf, htest[i].exp[0]) == 0 \
107 || strcmp (buf, htest[i].exp[1]) == 0 \
108 || strcmp (buf, htest[i].exp[2]) == 0 \
109 || strcmp (buf, htest[i].exp[3]) == 0) \
114 "or %s\n", buf, rc, htest[i].exp[0], htest[i].exp[1], \
115 htest[i].exp[2], htest[i].exp[3]); \
/glibc-2.36/sysdeps/generic/
Dsysdep.h56 # define cfi_personality(enc, exp) .cfi_personality enc, exp
57 # define cfi_lsda(enc, exp) .cfi_lsda enc, exp
91 # define CFI_PERSONALITY(enc, exp) \ argument
92 ".cfi_personality " CFI_STRINGIFY(enc) "," CFI_STRINGIFY(exp)
93 # define CFI_LSDA(enc, exp) \ argument
94 ".cfi_lsda " CFI_STRINGIFY(enc) "," CFI_STRINGIFY(exp)
/glibc-2.36/libio/
Dtst_swprintf.c13 ssize_t exp; member
42 if (tests[n].exp < 0 && res >= 0) in do_test()
48 else if (tests[n].exp >= 0 && tests[n].exp != res) in do_test()
53 tests[n].n, tests[n].str, tests[n].exp, res); in do_test()
/glibc-2.36/soft-fp/
Dtestit.c100 x, ux.bits.sign, ux.bits.exp, (unsigned long)ux.bits.frac); in print_float()
109 x, ux.bits.sign, ux.bits.exp, in print_double()
113 x, ux.bits.sign, ux.bits.exp, in print_double()
127 if (u.u.bits.exp == _FP_EXPMAX_S) in rand_float()
128 u.u.bits.exp--; in rand_float()
129 else if (u.u.bits.exp == 0 && u.u.bits.frac != 0) in rand_float()
130 u.u.bits.exp++; in rand_float()
146 if (u.u.bits.exp == _FP_EXPMAX_D) in rand_double()
147 u.u.bits.exp--; in rand_double()
149 else if (u.u.bits.exp == 0 && !(u.u.bits.frac0 == 0 && u.u.bits.frac1 == 0)) in rand_double()
[all …]
Dextended.h81 unsigned long exp : _FP_EXPBITS_E; member
87 unsigned exp : _FP_EXPBITS_E;
107 X##_e = FP_UNPACK_RAW_E_flo.bits.exp; \
123 X##_e = FP_UNPACK_RAW_EP_flo->bits.exp; \
139 FP_PACK_RAW_E_flo.bits.exp = X##_e; \
160 FP_PACK_RAW_EP_flo->bits.exp = X##_e; \
317 unsigned exp : _FP_EXPBITS_E; member
321 unsigned exp : _FP_EXPBITS_E;
338 X##_e = FP_UNPACK_RAW_E_flo.bits.exp; \
352 X##_e = FP_UNPACK_RAW_EP_flo->bits.exp; \
[all …]

12345678910>>...13