Searched refs:exp2 (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-11-stable/crypto/heimdal/lib/kadm5/
H A Dget_princs_s.c40 char *exp2; member in struct:foreach_data
67 if(fnmatch(d->exp, princ, 0) == 0 || fnmatch(d->exp2, princ, 0) == 0)
97 asprintf(&d.exp2, "%s@%s", expression, r);
111 free(d.exp2);
/freebsd-11-stable/bin/sh/tests/errors/
H A DMakefile17 ${PACKAGE}FILES+= bad-parm-exp2.2 bad-parm-exp2.2.stderr
/freebsd-11-stable/usr.bin/rpcgen/
H A Drpc_util.h181 void expected2(tok_kind exp1, tok_kind exp2);
182 void expected3(tok_kind exp1, tok_kind exp2, tok_kind exp3);
H A Drpc_util.c304 expected2(tok_kind exp1, tok_kind exp2) argument
308 toktostr(exp2));
316 expected3(tok_kind exp1, tok_kind exp2, tok_kind exp3) argument
320 toktostr(exp2),
/freebsd-11-stable/lib/msun/tests/
H A Dexponential_test.c72 test(exp2, x, result, exceptmask, excepts); \
131 * We should insist that exp2() return exactly the correct
141 assert(exp2(i) == ldexp(1.0, i));
/freebsd-11-stable/contrib/netbsd-tests/lib/libm/
H A Dt_ldexp.c51 int exp2; member in struct:ldexp_test
175 if (table->exp2 != SKIP)
176 v = ldexp(v, table->exp2);
192 atf_tc_set_md_var(tc, "descr", "Test ldexp(x, n) == x * exp2(n)");
211 if (fabs(y - (x * exp2(n[i]))) > eps) {
213 "!= %0.01f * exp2(%0.01f)", x, n[i], x, n[i]);
H A Dt_exp.c54 * exp2/exp2f(3)
56 ATF_LIBM_TEST(exp2_is_nan, "Test exp2(x) == NaN")
59 T_LIBM_CHECK_NAN(0, exp2, T_LIBM_NAN);
66 ATF_LIBM_TEST(exp2_is_plus_zero, "Test exp2(x) == +0.0")
69 T_LIBM_CHECK_PLUS_ZERO(0, exp2, T_LIBM_MINUS_INF);
76 ATF_LIBM_TEST(exp2_powers, "Test exp2(x) is correct for some integer x")
139 T_LIBM_CHECK(i, exp2, v[i].x, v[i].d_y, 0.0);
144 ATF_LIBM_TEST(exp2_values, "Test exp2(x) is correct for some x")
179 T_LIBM_CHECK(i, exp2, v[i].x, v[i].d_y, v[i].d_eps);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h82 __DEVICE__ double exp2(double);
83 __DEVICE__ float exp2(float);
239 using ::exp2;
H A D__clang_cuda_cmath.h227 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, exp2)
354 using ::exp2;
H A Dtgmath.h655 // exp2
663 __tg_exp2(double __x) {return exp2(__x);}
669 #undef exp2 macro
670 #define exp2(__x) __tg_exp2(__tg_promote1((__x))(__x)) macro
/freebsd-11-stable/contrib/libstdc++/include/tr1/
H A Dmath.h56 using std::tr1::exp2;
/freebsd-11-stable/contrib/binutils/gas/config/
H A Dtc-s390.c720 static int s390_exp_compare PARAMS ((expressionS *exp1, expressionS *exp2));
836 s390_exp_compare (exp1, exp2)
838 expressionS *exp2;
840 if (exp1->X_op != exp2->X_op)
847 return exp1->X_add_number == exp2->X_add_number;
857 return (exp1->X_add_symbol == exp2->X_add_symbol)
858 && (exp1->X_add_number == exp2->X_add_number);
879 return (exp1->X_add_symbol == exp2->X_add_symbol)
880 && (exp1->X_op_symbol == exp2->X_op_symbol)
881 && (exp1->X_add_number == exp2
[all...]
H A Dtc-sparc.c213 expressionS exp2; member in struct:sparc_it
2446 the_insn.exp2 = the_insn.exp;
2448 if (the_insn.exp2.X_op == O_absent)
2449 the_insn.exp2.X_op = O_illegal;
2452 the_insn.exp = the_insn.exp2;
2453 the_insn.exp2.X_op = O_illegal;
2503 the_insn.exp = the_insn.exp2;
2505 the_insn.exp2.X_op = O_illegal;
2508 else if (the_insn.exp2.X_op != O_constant)
2947 fixP->tc_fix_data = the_insn->exp2
[all...]
/freebsd-11-stable/include/
H A Dtgmath.h169 #define exp2(x) __tg_simple(x, exp2) macro
/freebsd-11-stable/lib/msun/src/
H A Ds_exp2.c51 /* exp2(z + eps) eps */
311 * exp2(x): compute the base 2 exponential of x
319 * Thus we have exp2(x) = 2**k * exp2(y).
323 * Thus we have exp2(y) = exp2(i/TBLSIZE) * exp2(z - eps[i]),
326 * We compute exp2(i/TBLSIZE) via table lookup and exp2(z - eps[i]) via
329 * exp2t[i] = exp2(
342 exp2(double x) function
[all...]
H A Dmath.h274 double exp2(double);
/freebsd-11-stable/tools/regression/include/tgmath/
H A Dtgmath.c110 TGMACRO_REAL(exp2)
496 PRINT("exp2",
497 PASS_REAL_ARG_REAL_RET(exp2));
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/db/
H A Dt_db.sh1171 }' > exp2
1173 atf_check -o file:exp2 \
/freebsd-11-stable/contrib/gcc/
H A Dpostreload-gcse.c308 Return nonzero if exp1 is equivalent to exp2. */
314 struct expr *exp2 = (struct expr *) exp2p;
315 int equiv_p = exp_equiv_p (exp1->expr, exp2->expr, 0, true);
317 gcc_assert (!equiv_p || exp1->hash == exp2->hash);
310 struct expr *exp2 = (struct expr *) exp2p; local
H A Dc-parser.c3724 tree exp1, exp2;
3735 exp2 = c_parser_expr_no_commas (parser, NULL).value;
3737 label = do_case (exp1, exp2);
4683 struct c_expr cond, exp1, exp2, ret;
4716 exp2 = c_parser_conditional_expression (parser, NULL);
4717 exp2 = default_function_array_conversion (exp2);
4719 ret.value = build_conditional_expr (cond.value, exp1.value, exp2.value);
3722 tree exp1, exp2; local
4681 struct c_expr cond, exp1, exp2, ret; local
/freebsd-11-stable/contrib/llvm-project/libcxx/include/
H A Dmath.h180 floating_point exp2 (arithmetic x);
1198 // exp2
1200 inline _LIBCPP_INLINE_VISIBILITY float exp2(float __lcpp_x) _NOEXCEPT {return ::exp2f(__lcpp_x);}
1201 inline _LIBCPP_INLINE_VISIBILITY long double exp2(long double __lcpp_x) _NOEXCEPT {return ::exp2l(__lcpp_x);}
1206 exp2(_A1 __lcpp_x) _NOEXCEPT {return ::exp2((double)__lcpp_x);}
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp523 // exp2(X) * exp2(Y) -> exp2(X + Y)
524 // Match as long as at least one of exp2 has only one use.
525 if (match(Op0, m_Intrinsic<Intrinsic::exp2>(m_Value(X))) &&
526 match(Op1, m_Intrinsic<Intrinsic::exp2>(m_Value(Y))) &&
529 Value *Exp2 = Builder.CreateUnaryIntrinsic(Intrinsic::exp2, XY, &I);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp395 case Intrinsic::exp2: {
396 ReplaceFPIntrinsicWithCall(CI, "exp2f", "exp2", "exp2l");
/freebsd-11-stable/lib/msun/
H A DMakefile199 exp.3 powl.3 exp.3 exp2.3 exp.3 exp2f.3 exp.3 exp2l.3 exp.3 expf.3 \
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1472 /// ldexp(1.0, x) for pow(2.0, itofp(x)); exp2(n * x) for pow(2.0 ** n, x);
1473 /// exp10(x) for pow(10.0, x); exp2(log2(n) * x) for pow(n, x).
1484 // pow(exp2(x), y) -> exp2(x * y)
1520 ID = Intrinsic::exp2;
1561 // pow(2.0 ** n, x) -> exp2(n * x)
1576 return B.CreateCall(Intrinsic::getDeclaration(Mod, Intrinsic::exp2, Ty),
1577 FMul, "exp2");
1591 // pow(n, x) -> exp2(log2(n) * x)
1603 return B.CreateCall(Intrinsic::getDeclaration(Mod, Intrinsic::exp2, T
[all...]

Completed in 207 milliseconds

12