/dports/devel/boost-python-libs/boost_1_72_0/libs/math/test/ |
H A D | test_gamma.hpp | 247 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -12), &sign), log(static_cast<T>(… in test_spots() 249 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -14), &sign), log(static_cast<T>(… in test_spots() 251 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -25), &sign), log(static_cast<T>(… in test_spots() 253 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -27), &sign), log(static_cast<T>(… in test_spots() 255 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -29), &sign), log(static_cast<T>(… in test_spots() 257 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -35), &sign), log(static_cast<T>(… in test_spots() 259 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -54), &sign), log(static_cast<T>(… in test_spots() 261 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -64), &sign), log(static_cast<T>(… in test_spots() 267 …BOOST_CHECK_CLOSE(::boost::math::lgamma(4 / boost::math::tools::max_value<T>(), &sign), log(boost:… in test_spots() 269 …BOOST_CHECK_CLOSE(::boost::math::lgamma(-ldexp(static_cast<T>(1), -12), &sign), log(-static_cast<T… in test_spots() [all …]
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/math/test/ |
H A D | test_gamma.hpp | 258 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -12), &sign), log(static_cast<T>(… in test_spots() 260 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -14), &sign), log(static_cast<T>(… in test_spots() 262 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -25), &sign), log(static_cast<T>(… in test_spots() 264 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -27), &sign), log(static_cast<T>(… in test_spots() 266 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -29), &sign), log(static_cast<T>(… in test_spots() 268 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -35), &sign), log(static_cast<T>(… in test_spots() 270 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -54), &sign), log(static_cast<T>(… in test_spots() 272 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -64), &sign), log(static_cast<T>(… in test_spots() 278 …BOOST_CHECK_CLOSE(::boost::math::lgamma(4 / boost::math::tools::max_value<T>(), &sign), log(boost:… in test_spots() 280 …BOOST_CHECK_CLOSE(::boost::math::lgamma(-ldexp(static_cast<T>(1), -12), &sign), log(-static_cast<T… in test_spots() [all …]
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/math/test/ |
H A D | test_gamma.hpp | 258 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -12), &sign), log(static_cast<T>(… in test_spots() 260 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -14), &sign), log(static_cast<T>(… in test_spots() 262 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -25), &sign), log(static_cast<T>(… in test_spots() 264 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -27), &sign), log(static_cast<T>(… in test_spots() 266 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -29), &sign), log(static_cast<T>(… in test_spots() 268 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -35), &sign), log(static_cast<T>(… in test_spots() 270 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -54), &sign), log(static_cast<T>(… in test_spots() 272 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -64), &sign), log(static_cast<T>(… in test_spots() 278 …BOOST_CHECK_CLOSE(::boost::math::lgamma(4 / boost::math::tools::max_value<T>(), &sign), log(boost:… in test_spots() 280 …BOOST_CHECK_CLOSE(::boost::math::lgamma(-ldexp(static_cast<T>(1), -12), &sign), log(-static_cast<T… in test_spots() [all …]
|
/dports/databases/percona57-server/boost_1_59_0/libs/math/test/ |
H A D | test_gamma.hpp | 258 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -12), &sign), log(static_cast<T>(… in test_spots() 260 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -14), &sign), log(static_cast<T>(… in test_spots() 262 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -25), &sign), log(static_cast<T>(… in test_spots() 264 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -27), &sign), log(static_cast<T>(… in test_spots() 266 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -29), &sign), log(static_cast<T>(… in test_spots() 268 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -35), &sign), log(static_cast<T>(… in test_spots() 270 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -54), &sign), log(static_cast<T>(… in test_spots() 272 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -64), &sign), log(static_cast<T>(… in test_spots() 278 …BOOST_CHECK_CLOSE(::boost::math::lgamma(4 / boost::math::tools::max_value<T>(), &sign), log(boost:… in test_spots() 280 …BOOST_CHECK_CLOSE(::boost::math::lgamma(-ldexp(static_cast<T>(1), -12), &sign), log(-static_cast<T… in test_spots() [all …]
|
/dports/databases/xtrabackup/boost_1_59_0/libs/math/test/ |
H A D | test_gamma.hpp | 258 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -12), &sign), log(static_cast<T>(… in test_spots() 260 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -14), &sign), log(static_cast<T>(… in test_spots() 262 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -25), &sign), log(static_cast<T>(… in test_spots() 264 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -27), &sign), log(static_cast<T>(… in test_spots() 266 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -29), &sign), log(static_cast<T>(… in test_spots() 268 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -35), &sign), log(static_cast<T>(… in test_spots() 270 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -54), &sign), log(static_cast<T>(… in test_spots() 272 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -64), &sign), log(static_cast<T>(… in test_spots() 278 …BOOST_CHECK_CLOSE(::boost::math::lgamma(4 / boost::math::tools::max_value<T>(), &sign), log(boost:… in test_spots() 280 …BOOST_CHECK_CLOSE(::boost::math::lgamma(-ldexp(static_cast<T>(1), -12), &sign), log(-static_cast<T… in test_spots() [all …]
|
/dports/devel/boost-docs/boost_1_72_0/libs/math/test/ |
H A D | test_gamma.hpp | 247 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -12), &sign), log(static_cast<T>(… in test_spots() 249 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -14), &sign), log(static_cast<T>(… in test_spots() 251 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -25), &sign), log(static_cast<T>(… in test_spots() 253 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -27), &sign), log(static_cast<T>(… in test_spots() 255 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -29), &sign), log(static_cast<T>(… in test_spots() 257 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -35), &sign), log(static_cast<T>(… in test_spots() 259 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -54), &sign), log(static_cast<T>(… in test_spots() 261 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -64), &sign), log(static_cast<T>(… in test_spots() 267 …BOOST_CHECK_CLOSE(::boost::math::lgamma(4 / boost::math::tools::max_value<T>(), &sign), log(boost:… in test_spots() 269 …BOOST_CHECK_CLOSE(::boost::math::lgamma(-ldexp(static_cast<T>(1), -12), &sign), log(-static_cast<T… in test_spots() [all …]
|
/dports/databases/percona57-client/boost_1_59_0/libs/math/test/ |
H A D | test_gamma.hpp | 258 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -12), &sign), log(static_cast<T>(… in test_spots() 260 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -14), &sign), log(static_cast<T>(… in test_spots() 262 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -25), &sign), log(static_cast<T>(… in test_spots() 264 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -27), &sign), log(static_cast<T>(… in test_spots() 266 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -29), &sign), log(static_cast<T>(… in test_spots() 268 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -35), &sign), log(static_cast<T>(… in test_spots() 270 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -54), &sign), log(static_cast<T>(… in test_spots() 272 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -64), &sign), log(static_cast<T>(… in test_spots() 278 …BOOST_CHECK_CLOSE(::boost::math::lgamma(4 / boost::math::tools::max_value<T>(), &sign), log(boost:… in test_spots() 280 …BOOST_CHECK_CLOSE(::boost::math::lgamma(-ldexp(static_cast<T>(1), -12), &sign), log(-static_cast<T… in test_spots() [all …]
|
/dports/devel/boost-libs/boost_1_72_0/libs/math/test/ |
H A D | test_gamma.hpp | 247 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -12), &sign), log(static_cast<T>(… in test_spots() 249 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -14), &sign), log(static_cast<T>(… in test_spots() 251 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -25), &sign), log(static_cast<T>(… in test_spots() 253 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -27), &sign), log(static_cast<T>(… in test_spots() 255 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -29), &sign), log(static_cast<T>(… in test_spots() 257 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -35), &sign), log(static_cast<T>(… in test_spots() 259 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -54), &sign), log(static_cast<T>(… in test_spots() 261 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -64), &sign), log(static_cast<T>(… in test_spots() 267 …BOOST_CHECK_CLOSE(::boost::math::lgamma(4 / boost::math::tools::max_value<T>(), &sign), log(boost:… in test_spots() 269 …BOOST_CHECK_CLOSE(::boost::math::lgamma(-ldexp(static_cast<T>(1), -12), &sign), log(-static_cast<T… in test_spots() [all …]
|
/dports/devel/hyperscan/boost_1_75_0/libs/math/test/ |
H A D | test_gamma.hpp | 247 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -12), &sign), log(static_cast<T>(… in test_spots() 249 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -14), &sign), log(static_cast<T>(… in test_spots() 251 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -25), &sign), log(static_cast<T>(… in test_spots() 253 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -27), &sign), log(static_cast<T>(… in test_spots() 255 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -29), &sign), log(static_cast<T>(… in test_spots() 257 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -35), &sign), log(static_cast<T>(… in test_spots() 259 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -54), &sign), log(static_cast<T>(… in test_spots() 261 …BOOST_CHECK_CLOSE(::boost::math::lgamma(ldexp(static_cast<T>(1), -64), &sign), log(static_cast<T>(… in test_spots() 267 …BOOST_CHECK_CLOSE(::boost::math::lgamma(4 / boost::math::tools::max_value<T>(), &sign), log(boost:… in test_spots() 269 …BOOST_CHECK_CLOSE(::boost::math::lgamma(-ldexp(static_cast<T>(1), -12), &sign), log(-static_cast<T… in test_spots() [all …]
|
/dports/mail/opendkim/opendkim-2.10.3/opendkim/tests/ |
H A D | Makefile.in | 868 t-sign-ss.log: t-sign-ss 875 t-sign-rs.log: t-sign-rs 882 t-sign-rs-tables.log: t-sign-rs-tables 910 t-sign-rs-mixconf.log: t-sign-rs-mixconf 917 t-sign-rs-lua.log: t-sign-rs-lua 924 t-sign-ss-all.log: t-sign-ss-all 931 t-sign-ss-ltag.log: t-sign-ss-ltag 938 t-sign-ss-x.log: t-sign-ss-x 1029 t-sign-ss-macro.log: t-sign-ss-macro 1057 t-sign-report.log: t-sign-report [all …]
|
/dports/math/reduce/Reduce-svn5758-src/packages/regressions/ |
H A D | 2015-08-21-repart-impart.rlg | 15 5 *cos(impart(x)*log(5)) 54 log(5) log(5) 61 log(5) log(5) 71 atan(1/2) log(5) log(5) 78 atan(1/2) log(5) log(5) 103 impart(log(5)); 172 *( - sign(u) + sign(u) + 1))/2 178 (2*atan2(2*v, - u - v + 1) + sign(u - 1)*sign(u)*sign(v) *pi 181 - sign(u - 1)*sign(u)*pi + sign(u - 1)*sign(v) *pi - sign(u - 1)*pi 184 + sign(u)*sign(v) *pi - sign(u)*pi + sign(v) *pi - pi)/4 [all …]
|
H A D | 2015-06-13-improved-handling-of-repart-impart.rlg | 5 log(5) 13 log(2+3i); 21 log(13) 55 log(5) 65 log(5) 130 pi*(sign(y) - 1) 132 2*sign(y) 144 2*sign(y) 227 pi*(sign(y) - 1) 229 2*sign(y) [all …]
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/fpga/usrp3/sim/general/ |
H A D | sim_math.vh | 28 sign = 1.0; 38 sign = -1.0*sign; 47 sin = sign*sum; 166 function real log; function 176 log = 0; 196 log = -log2/12102203.16; 198 log = log2/12102203.16; 221 pow = exp(y*log(x)); 234 sqrt = exp(0.5*log(x)); 248 sign = 1.0; [all …]
|
/dports/math/py-sympy/sympy-1.9/sympy/series/tests/ |
H A D | test_gruntz.py | 5 sign 213 assert sign(log(x), x) == 1 221 assert sign(x**2, x) == 1 222 assert sign(x**5, x) == 1 226 assert sign(x, x) == 1 227 assert sign(-x, x) == -1 229 assert sign(y, x) == 1 230 assert sign(-y, x) == -1 231 assert sign(y*x, x) == 1 232 assert sign(-y*x, x) == -1 [all …]
|
/dports/misc/py-xgboost/xgboost-1.5.1/src/common/ |
H A D | survival_util.h | 30 using std::log; 99 const double log_y_lower = log(y_lower); in Loss() 100 const double log_y_upper = log(y_upper); in Loss() 108 cost = -log(fmax(pdf / (sigma * y_lower), aft::kEps)); in Loss() 124 cost = -log(fmax(cdf_u - cdf_l, aft::kEps)); in Loss() 132 const double log_y_lower = log(y_lower); in Gradient() 133 const double log_y_upper = log(y_upper); in Gradient() 181 const double log_y_lower = log(y_lower); in Hessian() 182 const double log_y_upper = log(y_upper); in Hessian() 250 return sign ? kMinGradient : 0.0; [all …]
|
/dports/misc/xgboost/xgboost-1.5.1/src/common/ |
H A D | survival_util.h | 30 using std::log; 99 const double log_y_lower = log(y_lower); in Loss() 100 const double log_y_upper = log(y_upper); in Loss() 108 cost = -log(fmax(pdf / (sigma * y_lower), aft::kEps)); in Loss() 124 cost = -log(fmax(cdf_u - cdf_l, aft::kEps)); in Loss() 132 const double log_y_lower = log(y_lower); in Gradient() 133 const double log_y_upper = log(y_upper); in Gradient() 181 const double log_y_lower = log(y_lower); in Hessian() 182 const double log_y_upper = log(y_upper); in Hessian() 250 return sign ? kMinGradient : 0.0; [all …]
|
/dports/misc/cryptoballot/cryptoballot-3753e1b/utils/cryptoballot-sign/ |
H A D | cryptoballot-sign.go | 26 …fmt.Println(`cryptoballot-sign prints the cryptographically signed signature of a file (or piped f… 30 cryptoballot-sign <path-to-private-key.pem> <path-to-file-to-sign> 31 echo "string to sign" | cryptoballot-sign -d <path-to-private-key.pem> 32 cryptoballot-sign --naive --sha256 -d <path-to-clerk-private-key.pem> <path-to-ballot-to-sign> 34 …shed by OpenSSL like so: echo -n "string to sign" | openssl dgst -sha256 -sign <path-to-private-ke… 44 log.Fatal(err) 48 log.Fatal(err) 55 log.Fatal(err) 64 log.Fatal(err) 88 log.Fatal(err) [all …]
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/docs/.vale/gitlab/ |
H A D | Substitutions.yml | 31 to login: to log in 32 can login: can log in 33 to log-in: to log in 34 can log-in: can log in 35 to signin: to sign in 36 can signin: can sign in 37 to sign-in: to sign in 38 can sign-in: can sign in
|
/dports/lang/micropython/micropython-1.17/lib/libm_dbl/ |
H A D | tgamma.c | 114 int sign = u.i>>63; in tgamma() local 127 if (sign) in tgamma() 136 if (sign) { in tgamma() 146 absx = sign ? -x : x; in tgamma() 178 *sign = 1; in __lgamma_r() 198 *sign = 1 - 2*!!signbit(x); in __lgamma_r() 199 return -log(absx); in __lgamma_r() 205 *sign = 1 - 2*!!signbit(x); in __lgamma_r() 206 return log(fabs(x)); in __lgamma_r() 211 r = (absx-0.5)*(log(absx+gmhalf)-1) + (log(S(absx)) - (gmhalf+0.5)); in __lgamma_r() [all …]
|
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/src/math/ |
H A D | tgamma.c | 114 int sign = u.i>>63; in tgamma() local 127 if (sign) in tgamma() 136 if (sign) { in tgamma() 146 absx = sign ? -x : x; in tgamma() 178 *sign = 1; 198 *sign = 1 - 2*!!signbit(x); 199 return -log(absx); 205 *sign = 1 - 2*!!signbit(x); 206 return log(fabs(x)); 211 r = (absx-0.5)*(log(absx+gmhalf)-1) + (log(S(absx)) - (gmhalf+0.5)); [all …]
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/musl/src/math/ |
H A D | tgamma.c | 114 int sign = u.i>>63; in tgamma() local 127 if (sign) in tgamma() 136 if (sign) { in tgamma() 146 absx = sign ? -x : x; in tgamma() 178 *sign = 1; 198 *sign = 1 - 2*!!signbit(x); 199 return -log(absx); 205 *sign = 1 - 2*!!signbit(x); 206 return log(fabs(x)); 211 r = (absx-0.5)*(log(absx+gmhalf)-1) + (log(S(absx)) - (gmhalf+0.5)); [all …]
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/math/ |
H A D | tgamma.c | 114 int sign = u.i>>63; in tgamma() local 127 if (sign) in tgamma() 136 if (sign) { in tgamma() 146 absx = sign ? -x : x; in tgamma() 178 *sign = 1; 198 *sign = 1 - 2*!!signbit(x); 199 return -log(absx); 205 *sign = 1 - 2*!!signbit(x); 206 return log(fabs(x)); 211 r = (absx-0.5)*(log(absx+gmhalf)-1) + (log(S(absx)) - (gmhalf+0.5)); [all …]
|
/dports/lang/zig/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/math/ |
H A D | tgamma.c | 114 int sign = u.i>>63; in tgamma() local 127 if (sign) in tgamma() 136 if (sign) { in tgamma() 146 absx = sign ? -x : x; in tgamma() 178 *sign = 1; 198 *sign = 1 - 2*!!signbit(x); 199 return -log(absx); 205 *sign = 1 - 2*!!signbit(x); 206 return log(fabs(x)); 211 r = (absx-0.5)*(log(absx+gmhalf)-1) + (log(S(absx)) - (gmhalf+0.5)); [all …]
|
/dports/lang/zig/zig-0.9.0/lib/libc/musl/src/math/ |
H A D | tgamma.c | 114 int sign = u.i>>63; in tgamma() local 127 if (sign) in tgamma() 136 if (sign) { in tgamma() 146 absx = sign ? -x : x; in tgamma() 178 *sign = 1; 198 *sign = 1 - 2*!!signbit(x); 199 return -log(absx); 205 *sign = 1 - 2*!!signbit(x); 206 return log(fabs(x)); 211 r = (absx-0.5)*(log(absx+gmhalf)-1) + (log(S(absx)) - (gmhalf+0.5)); [all …]
|
/dports/devel/emscripten/emscripten-2.0.3/system/lib/libc/musl/src/math/ |
H A D | tgamma.c | 114 int sign = u.i>>63; in tgamma() local 127 if (sign) in tgamma() 136 if (sign) { in tgamma() 146 absx = sign ? -x : x; in tgamma() 178 *sign = 1; 198 *sign = 1 - 2*!!signbit(x); 199 return -log(absx); 205 *sign = 1 - 2*!!signbit(x); 206 return log(fabs(x)); 211 r = (absx-0.5)*(log(absx+gmhalf)-1) + (log(S(absx)) - (gmhalf+0.5)); [all …]
|