Home
last modified time | relevance | path

Searched refs:gmp (Results 1 – 25 of 107) sorted by relevance

12345

/php-src/ext/gmp/
H A Dconfig.m41 PHP_ARG_WITH([gmp],
3 [AS_HELP_STRING([[--with-gmp[=DIR]]],
8 PHP_CHECK_LIBRARY(gmp, __gmpz_rootrem,
13 PHP_ADD_LIBRARY(gmp,,GMP_SHARED_LIBADD)
15 if test ! -f $PHP_GMP/include/gmp.h; then
16 AC_MSG_ERROR(Unable to locate gmp.h)
19 PHP_CHECK_LIBRARY(gmp, __gmpz_rootrem,
26 PHP_ADD_LIBRARY_WITH_PATH(gmp, $PHP_GMP/$PHP_LIBDIR, GMP_SHARED_LIBADD)
30 PHP_INSTALL_HEADERS([ext/gmp], [php_gmp_int.h])
32 PHP_NEW_EXTENSION(gmp, gmp.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
H A Dphp_gmp.h28 ZEND_MODULE_STARTUP_D(gmp);
29 ZEND_MODULE_DEACTIVATE_D(gmp);
30 ZEND_MODULE_INFO_D(gmp);
32 ZEND_BEGIN_MODULE_GLOBALS(gmp)
35 ZEND_END_MODULE_GLOBALS(gmp)
37 #define GMPG(v) ZEND_MODULE_GLOBALS_ACCESSOR(gmp, v)
H A Dconfig.w323 ARG_WITH("gmp", "Include GNU MP support.", "no");
6 if (CHECK_LIB("mpir_a.lib", "gmp", PHP_GMP) &&
7 …CHECK_HEADER_ADD_INCLUDE("gmp.h", "CFLAGS_GMP", PHP_GMP + ";" + PHP_PHP_BUILD + "\\include\\mpir"…
8 EXTENSION("gmp", "gmp.c", null, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
9 PHP_INSTALL_HEADERS("ext/gmp", "php_gmp_int.h");
/php-src/ext/gmp/tests/
H A Dbug67917.phpt4 gmp
10 $gmp = gmp_init(42);
11 $gmp <<= 1;
H A Dbug659967.phpt4 gmp
9 $gmp = gmp_init('10');
H A Dgmp_random_seed.phpt4 gmp
22 // zero gmp
46 // negative gmp
70 // positive gmp
85 // large negative gmp
97 // large positive gmp
H A Dgmp_import.phpt4 gmp
35 $gmp = gmp_import(hex2bin($test[3]), $test[1], $test[2]);
36 if ($gmp instanceof GMP) {
37 $result = gmp_strval($gmp, 16);
43 $type = gettype($gmp);
H A Dgh9308.phpt4 gmp
12 $gmp = gmp_init(gmp_init(123));
H A Dgmp_pow2.phpt2 Test pow() with gmp object
4 gmp
H A Dgmp_export.phpt4 gmp
37 $gmp = gmp_init($test[0], 16);
38 $str = gmp_export($gmp, $test[1], $test[2]);
H A D002.phpt4 gmp
H A Dunserialize_with_reference.phpt4 gmp
H A Dclone.phpt4 gmp
H A Dbug66872.phpt4 gmp
H A Dbug50175.phpt4 gmp
H A Dbug74670.phpt4 gmp
H A Dbug69803.phpt4 gmp
H A Dcomparison.phpt4 gmp
H A Dgmp_kronecker.phpt4 gmp
H A Dgmp_php_int_max.phpt4 gmp
H A Dcast.phpt4 gmp
/php-src/Zend/tests/
H A Dtemporary_cleaning_014.phpt4 gmp
/php-src/ext/standard/tests/array/
H A Darray_product_variation6.phpt4 gmp
H A Darray_sum_variation9.phpt4 gmp
/php-src/.github/actions/configure-macos/
H A Daction.yml55 --with-gmp="$BREW_OPT"/gmp \

Completed in 25 milliseconds

12345