/dports/math/symengine/symengine-0.8.1/symengine/tests/basic/ |
H A D | test_integer_class.cpp | 228 REQUIRE(mp_sqrt(0) == 0); 229 REQUIRE(mp_sqrt(1) == 1); 230 REQUIRE(mp_sqrt(2) == 1); 231 REQUIRE(mp_sqrt(3) == 1); 232 REQUIRE(mp_sqrt(4) == 2); 233 REQUIRE(mp_sqrt(5) == 2); 234 REQUIRE(mp_sqrt(9) == 3); 235 REQUIRE(mp_sqrt(10) == 3); 236 REQUIRE(mp_sqrt(24) == 4); 237 REQUIRE(mp_sqrt(25) == 5); [all …]
|
/dports/net/samba412/samba-4.12.15/source4/heimdal/lib/hcrypto/libtommath/ |
H A D | bn_mp_is_square.c | 94 if ((res = mp_sqrt(arg,&t)) != MP_OKAY) { in mp_is_square()
|
H A D | bn_mp_sqrt.c | 19 int mp_sqrt(mp_int *arg, mp_int *ret) in mp_sqrt() function
|
/dports/games/wargus/wargus-3.2.0/StormLib/src/libtommath/ |
H A D | bn_mp_is_square.c | 94 if ((res = mp_sqrt(arg,&t)) != MP_OKAY) { in mp_is_square()
|
H A D | bn_mp_sqrt.c | 19 int mp_sqrt(mp_int *arg, mp_int *ret) in mp_sqrt() function
|
/dports/security/dropbear/dropbear-2020.81/libtommath/ |
H A D | bn_mp_sqrt.c | 7 mp_err mp_sqrt(const mp_int *arg, mp_int *ret) in mp_sqrt() function
|
H A D | bn_mp_is_square.c | 81 if ((err = mp_sqrt(arg, &t)) != MP_OKAY) { in mp_is_square()
|
/dports/math/libtommath/libtommath-1.2.0/ |
H A D | bn_mp_sqrt.c | 7 mp_err mp_sqrt(const mp_int *arg, mp_int *ret) in mp_sqrt() function
|
H A D | bn_mp_is_square.c | 81 if ((err = mp_sqrt(arg, &t)) != MP_OKAY) { in mp_is_square()
|
H A D | tommath.def | 134 mp_sqrt
|
/dports/security/p5-CryptX/CryptX-0.075/src/ltm/ |
H A D | bn_mp_sqrt.c | 16 int mp_sqrt(const mp_int *arg, mp_int *ret)
|
H A D | bn_mp_is_square.c | 91 if ((res = mp_sqrt(arg, &t)) != MP_OKAY) { in mp_is_square()
|
/dports/lang/tcl86/tcl8.6.12/libtommath/ |
H A D | bn_mp_is_square.c | 81 if ((err = mp_sqrt(arg, &t)) != MP_OKAY) { in mp_is_square()
|
H A D | bn_mp_sqrt.c | 15 mp_err mp_sqrt(const mp_int *arg, mp_int *ret) in mp_sqrt() function
|
/dports/lang/tcl87/tcl8.7a5/libtommath/ |
H A D | bn_mp_is_square.c | 81 if ((err = mp_sqrt(arg, &t)) != MP_OKAY) { in mp_is_square()
|
H A D | tommath.def | 134 mp_sqrt
|
H A D | bn_mp_sqrt.c | 15 mp_err mp_sqrt(const mp_int *arg, mp_int *ret) in mp_sqrt() function
|
/dports/security/pgpin/pgp263in/src/ |
H A D | genprime.c | 112 static int mp_sqrt(unitptr quotient, unitptr dividend); 395 if (mp_sqrt(sqrtp, p) == 0) /* 0 means p is a perfect square */ in primetest() 952 static int mp_sqrt(unitptr quotient, unitptr dividend) in mp_sqrt() function
|
/dports/lang/tcl85/tcl8.5.19/libtommath/ |
H A D | bn_mp_sqrt.c | 24 int mp_sqrt(mp_int *arg, mp_int *ret) in mp_sqrt() function
|
/dports/math/symengine/symengine-0.8.1/symengine/ |
H A D | integer.cpp | 120 return integer(mp_sqrt(n.as_integer_class())); in isqrt()
|
H A D | mp_boost.cpp | 226 integer_class mp_sqrt(const integer_class &i) in mp_sqrt() function 247 a = mp_sqrt(i); in mp_sqrtrem()
|
H A D | mp_class.h | 101 inline integer_class mp_sqrt(const integer_class &i) in mp_sqrt() function 310 inline piranha::integer mp_sqrt(const piranha::integer &i) in mp_sqrt() function 585 inline fmpz_wrapper mp_sqrt(const fmpz_wrapper &i) in mp_sqrt() function 949 integer_class mp_sqrt(const integer_class &i);
|
H A D | ntheory.cpp | 182 integer_class sqrtN = mp_sqrt(N); in _factor_trial_division_sieve() 225 a = mp_sqrt(4 * k * n); in _factor_lehman_method() 234 b = a + mp_sqrt(l); in _factor_lehman_method() 439 sqrtN = mp_sqrt(_n); in prime_factors() 469 sqrtN = mp_sqrt(_n); in prime_factor_multiplicities()
|
/dports/math/mate-calc/mate-calc-1.26.0/src/ |
H A D | mp.c | 455 mp_sqrt(const MPNumber *x, MPNumber *z) in mp_sqrt() function 908 mp_sqrt(&value, &root); in mp_factorize() 917 mp_sqrt(&value, &root); in mp_factorize()
|
H A D | mp.h | 201 void mp_sqrt(const MPNumber *x, MPNumber *z);
|