History log of /PHP-8.1/ext/gmp/gmp.c (Results 126 – 150 of 254)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 7533243f 02-Sep-2014 Nikita Popov

Fix C89 build and small cleanup

# 5138f3ba 02-Sep-2014 Nikita Popov

Skip 64bit test on 32bit

Also minor type improvements

# 08b732f2 02-Sep-2014 Anatol Belski

fix datatypes for gmp to be compatible with GMP/MPIR on different platforms

# 20e15f55 02-Sep-2014 Anatol Belski

one semicolon too much

# e3da88b8 02-Sep-2014 Nikita Popov

mpz functions don't work on zend_ulongs...

If we really want to support zend_ulong > ulong in GMP the right
approach would be to only handle < LONG_MAX in ui shortcut functions
and u

mpz functions don't work on zend_ulongs...

If we really want to support zend_ulong > ulong in GMP the right
approach would be to only handle < LONG_MAX in ui shortcut functions
and use mpz_import in convert_to_gmp for number > LONG_MAX.

show more ...

# 8e7cd7a0 02-Sep-2014 Nikita Popov

Merge branch 'PHP-5.6'

Conflicts:
ext/gmp/gmp.c


# 47d630e7 27-Aug-2014 Leigh

Implement gmp_import() and gmp_export()

# f099c3f2 27-Aug-2014 Nikita Popov

Merge branch 'PHP-5.6'


# fc5f9316 27-Aug-2014 Nikita Popov

Fix bug #67917 (gmp compound assignment operator leak)

Revision tags: php-5.6.0, POST_AST_MERGE, PRE_AST_MERGE
# 6f9f0bf2 25-Aug-2014 Anatol Belski

master renames phase 2

# c3e3c98e 25-Aug-2014 Anatol Belski

master renames phase 1

# 70de6180 24-Aug-2014 Anatol Belski

fixes to %pd format usage

Revision tags: POST_64BIT_BRANCH_MERGE, PRE_64BIT_BRANCH_MERGE, php-5.5.16, php-5.4.32
# 919b9965 19-Aug-2014 Anatol Belski

ported ext/gmp

# 63d3f0b8 19-Aug-2014 Anatol Belski

basic macro replacements, all at once

Revision tags: POST_PHPNG_MERGE, PRE_PHPNG_MERGE, php-5.6.0RC4, php-5.3.29, php-5.5.16RC1, php-5.4.32RC1, php-5.3.29RC1, php-5.6.0RC3, php-5.5.15, php-5.4.31, php-5.4.31RC1, php-5.5.15RC1, php-5.6.0RC2, php-5.4.30, php-5.5.14, php-5.6.0RC1, php-5.5.14RC1, php-5.4.30RC1, php-5.6.0beta4, php-5.4.29, php-5.5.13
# 9eb89ddd 23-May-2014 Dmitry Stogov

Use optimized zend_array_dup() function. convert zend_hash_num_elements() and zend_hash_next_free_element() into macros.

Revision tags: php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1
# f1720348 13-May-2014 Dmitry Stogov

Fixed access to uninitialized data and attempt to double free

# 4c5b5d72 06-May-2014 Nikita Popov

Port ext/gmp (one failure)

Revision tags: php-5.6.0beta2, php-5.5.12, php-5.4.28
# c18ae51a 28-Apr-2014 Stanislav Malyshev

Fix crashes in GMP serialize/unserialize

Revision tags: php-5.4.28RC1, php-5.5.12RC1, php-5.6.0beta1, php-5.4.27, php-5.5.11, php-5.5.11RC1, php-5.4.27RC1
# 1a624e27 11-Mar-2014 Anatol Belski

restored the old code in 5.4/5 related to bug #66872

The crash is reproducable in 5.6+ only, so 5.4 and 5.5 are fine
with the old code.

# eef2978a 10-Mar-2014 Pierre Joye

Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
update NEWS
fix #66872, invalid argument crashes gmp_testbit
fix #66872, invalid argument crashes gmp_testbit
add vc12

Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
update NEWS
fix #66872, invalid argument crashes gmp_testbit
fix #66872, invalid argument crashes gmp_testbit
add vc12 (2013)

Conflicts:
ext/gmp/gmp.c

show more ...


# af41914e 10-Mar-2014 Pierre Joye

fix #66872, invalid argument crashes gmp_testbit

Revision tags: php-5.5.10, php-5.4.26, php-5.6.0alpha3, php-5.4.26RC1, php-5.5.10RC1, php-5.6.0alpha2, php-5.5.9, php-5.4.25, php-5.5.9RC1, php-5.4.25RC1, php-5.6.0alpha1, php-5.5.8, php-5.4.24, php-5.4.24RC1, php-5.5.8RC1, php-5.5.7, php-5.4.23, php-5.3.28, php-5.5.7RC1, php-5.4.23RC1
# aff56f3c 19-Nov-2013 datibbaw

add T_POW (**) operator

Fixed recognition of the operator

Added opcode, still doing multiply instead of pow()

opcode now always returns int(42)

The right answer, b

add T_POW (**) operator

Fixed recognition of the operator

Added opcode, still doing multiply instead of pow()

opcode now always returns int(42)

The right answer, but always a float

Yanked code from pow() implementation.

Should not handle negative long as exponent ourselves

Added test cases from pow()

Moved precedence higher than '~'

Added GMP operator overloading

Added ZEND_ASSIGN_POW (**=) operator.

Added pow() as a language construct.

Adjusted test cases for changed precedence.

Reduced pow() to shell function around ZEND_API pow_function()

Reduced test case to only contain edge cases
Added overloading test case

Moved unary minus above T_POW

Revert "Added pow() as a language construct."

Bad bad bad idea.

This reverts commit f60b98cf7a8371233d800a6faa286ddba4432d02.

Reverted unary minus behaviour due to previous revert.
Convert arrays to int(0)
Exponent with array as a base becomes int(0)

Rebase against master

Fixed tokenizer test case

show more ...

# c081ce62 03-Jan-2014 Xinchen Hui

Bump year

# c0d060f5 03-Jan-2014 Xinchen Hui

Bump year

# 5408f1e5 30-Dec-2013 Nikita Popov

Throw warning when converting invalid string to GMP

1234567891011