Home
last modified time | relevance | path

Searched refs:mp_sqrt (Results 1 – 25 of 95) sorted by relevance

1234

/dports/math/symengine/symengine-0.8.1/symengine/tests/basic/
H A Dtest_integer_class.cpp228 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 Dbn_mp_is_square.c94 if ((res = mp_sqrt(arg,&t)) != MP_OKAY) { in mp_is_square()
H A Dbn_mp_sqrt.c19 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 Dbn_mp_is_square.c94 if ((res = mp_sqrt(arg,&t)) != MP_OKAY) { in mp_is_square()
H A Dbn_mp_sqrt.c19 int mp_sqrt(mp_int *arg, mp_int *ret) in mp_sqrt() function
/dports/security/dropbear/dropbear-2020.81/libtommath/
H A Dbn_mp_sqrt.c7 mp_err mp_sqrt(const mp_int *arg, mp_int *ret) in mp_sqrt() function
H A Dbn_mp_is_square.c81 if ((err = mp_sqrt(arg, &t)) != MP_OKAY) { in mp_is_square()
/dports/math/libtommath/libtommath-1.2.0/
H A Dbn_mp_sqrt.c7 mp_err mp_sqrt(const mp_int *arg, mp_int *ret) in mp_sqrt() function
H A Dbn_mp_is_square.c81 if ((err = mp_sqrt(arg, &t)) != MP_OKAY) { in mp_is_square()
H A Dtommath.def134 mp_sqrt
/dports/security/p5-CryptX/CryptX-0.075/src/ltm/
H A Dbn_mp_sqrt.c16 int mp_sqrt(const mp_int *arg, mp_int *ret)
H A Dbn_mp_is_square.c91 if ((res = mp_sqrt(arg, &t)) != MP_OKAY) { in mp_is_square()
/dports/lang/tcl86/tcl8.6.12/libtommath/
H A Dbn_mp_is_square.c81 if ((err = mp_sqrt(arg, &t)) != MP_OKAY) { in mp_is_square()
H A Dbn_mp_sqrt.c15 mp_err mp_sqrt(const mp_int *arg, mp_int *ret) in mp_sqrt() function
/dports/lang/tcl87/tcl8.7a5/libtommath/
H A Dbn_mp_is_square.c81 if ((err = mp_sqrt(arg, &t)) != MP_OKAY) { in mp_is_square()
H A Dtommath.def134 mp_sqrt
H A Dbn_mp_sqrt.c15 mp_err mp_sqrt(const mp_int *arg, mp_int *ret) in mp_sqrt() function
/dports/security/pgpin/pgp263in/src/
H A Dgenprime.c112 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 Dbn_mp_sqrt.c24 int mp_sqrt(mp_int *arg, mp_int *ret) in mp_sqrt() function
/dports/math/symengine/symengine-0.8.1/symengine/
H A Dinteger.cpp120 return integer(mp_sqrt(n.as_integer_class())); in isqrt()
H A Dmp_boost.cpp226 integer_class mp_sqrt(const integer_class &i) in mp_sqrt() function
247 a = mp_sqrt(i); in mp_sqrtrem()
H A Dmp_class.h101 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 Dntheory.cpp182 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 Dmp.c455 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 Dmp.h201 void mp_sqrt(const MPNumber *x, MPNumber *z);

1234