Searched refs:log1p (Results 1 - 25 of 29) sorted by relevance

12

/openbsd-current/lib/libm/arch/amd64/
H A Ds_log1p.S17 * The log1p() function is provided to compute an accurate value of
25 * log1p() is implemented by testing the range of the argument.
27 * Else, we compute log1p(x) = ln(2)*ld(1 + x) the traditional way
42 ENTRY(log1p)
43 RETGUARD_SETUP(log1p, r11)
66 RETGUARD_CHECK(log1p, r11)
75 RETGUARD_CHECK(log1p, r11)
77 END_STD(log1p)
/openbsd-current/lib/libm/arch/i387/
H A Ds_log1p.S15 * The log1p() function is provided to compute an accurate value of
23 * log1p() is implemented by testing the range of the argument.
25 * Else, we compute log1p(x) = ln(2)*ld(1 + x) the traditional way
40 ENTRY(log1p)
69 END_STD(log1p)
/openbsd-current/lib/libm/src/
H A De_atanh.c18 * atanh(x) = --- * log(1 + -------) = 0.5 * log1p(2 * --------)
22 * atanh(x) = 0.5*log1p(2x+2x*x/(1-x))
55 t = 0.5*log1p(t+t*x/(one-x));
57 t = 0.5*log1p((x+x)/(one-x));
H A Ds_log1p.c13 /* double log1p(double x)
27 * 2. Approximation of log1p(f).
45 * log1p(f) = f - (hfsq - s*(hfsq+R)).
47 * 3. Finally, log1p(x) = k*ln2 + log1p(f).
54 * log1p(x) is NaN with signal if x < -1 (including -INF) ;
55 * log1p(+INF) is +INF; log1p(-1) is -INF with signal;
56 * log1p(NaN) is that NaN with no signal.
69 * algorithm can be used to compute log1p(
98 log1p(double x) function
160 DEF_STD(log1p); variable
161 LDBL_MAYBE_CLONE(log1p); variable
[all...]
H A De_acosh.c20 * acosh(x) := log1p(t+sqrt(2.0*t+t*t)); where t=x-1.
57 return log1p(t+sqrt(2.0*t+t*t));
H A Ds_asinh.c21 * := sign(x)*log1p(|x| + x^2/(1 + sqrt(1+x^2)))
52 w =log1p(fabs(x)+t/(one+sqrt(one+t)));
/openbsd-current/regress/lib/libm/msun/
H A Dlogarithm_test.c90 test(log1p, x, result, exceptmask, excepts); \
176 /* log1p(-0.0) == -0.0 even when rounding upwards */
218 * On ld128 platforms the log1p() implementation provides less accuracy,
237 test_tol(log1p, tests[i].x - 1, tests[i].logex,
257 test_tol(log1p, 0x0.3333333333333p0,
264 test_tol(log1p, -0x0.3333333333333p0,
/openbsd-current/gnu/llvm/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h126 __DEVICE__ double log1p(double);
127 __DEVICE__ float log1p(float);
246 using ::log1p;
H A D__clang_cuda_cmath.h280 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, log1p)
410 using ::log1p;
H A Dtgmath.h938 // log1p
946 __tg_log1p(double __x) {return log1p(__x);}
952 #undef log1p macro
953 #define log1p(__x) __tg_log1p(__tg_promote1((__x))(__x)) macro
H A D__clang_hip_cmath.h234 __DEF_FUN1(float, log1p)
522 __HIP_OVERLOAD1(double, log1p)
693 using ::log1p;
H A D__clang_cuda_math.h174 __DEVICE__ double log1p(double __a) { return __nv_log1p(__a); } function
H A D__clang_hip_math.h887 double log1p(double __x) { return __ocml_log1p_f64(__x); } function
/openbsd-current/regress/lib/libm/cephes/
H A Dtestvect.c68 double log1p (double);
202 {"log1p", log1p, &NAN, &NAN, 0},
203 {"log1p", log1p, &ZERO, &ZERO, 0},
204 {"log1p", log1p, &MZERO, &MZERO, 0},
205 {"log1p", log1p, &MONE, &MINF, 0},
206 {"log1p", log1
[all...]
/openbsd-current/gnu/gcc/libstdc++-v3/include/tr1/
H A Dmath.h74 using std::tr1::log1p;
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/t/
H A Dmath.t125 near(log1p(2), 1.09861228866811, "log1p", 1e-9);
126 near(log1p(1e-6), 9.99999500000333e-07, "log1p", 1e-9);
H A Dexport.t165 isnormal isunordered j0 j1 jn lgamma log1p log2 logb lrint lround nan
/openbsd-current/include/
H A Dtgmath.h144 #define log1p(x) __tg_simple(x, log1p) macro
H A Dmath.h210 double log1p(double);
/openbsd-current/gnu/gcc/gcc/config/m68k/
H A Dmath-68881.h268 log1p (double x) function
/openbsd-current/gnu/usr.bin/gcc/gcc/config/m68k/
H A Dmath-68881.h268 log1p (double x) function
/openbsd-current/lib/libm/hidden/
H A Dmath.h134 PROTO_NORMAL(log1p); variable
/openbsd-current/gnu/llvm/libcxx/include/
H A Dmath.h224 floating_point log1p (arithmetic x);
1356 // log1p
1358 inline _LIBCPP_HIDE_FROM_ABI float log1p(float __x) _NOEXCEPT {return __builtin_log1pf(__x);}
1361 _LIBCPP_HIDE_FROM_ABI double log1p(double __x) _NOEXCEPT {
1365 inline _LIBCPP_HIDE_FROM_ABI long double log1p(long double __x) _NOEXCEPT {return __builtin_log1pl(__x);}
1370 log1p(_A1 __x) _NOEXCEPT {return __builtin_log1p((double)__x);}
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/lib/
H A DPOSIX.pm431 jn lgamma log1p log2 logb lrint lround nan nearbyint nextafter nexttoward
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D920428-2.c15 double log1p(double x);

Completed in 189 milliseconds

12