php-src/ext/gmp
datibbaw aff56f3c45 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
2014-02-06 14:41:21 +01:00
..
tests add T_POW (**) operator 2014-02-06 14:41:21 +01:00
config.m4 Fix long-standing visual pain point: the misalignment of './configure help' text. 2013-08-06 11:06:09 -07:00
config.w32 - [DOC] expose MPIR version when mpir is used instead of gmp 2009-12-10 02:25:47 +00:00
CREDITS Add credits to GMP 2001-07-16 12:45:36 +00:00
gmp.c add T_POW (**) operator 2014-02-06 14:41:21 +01:00
php_gmp.h Bump year 2014-01-03 11:08:10 +08:00
README Add license info 2000-12-28 12:13:21 +00:00
TODO

Arbitrary length number support with GNU MP library.
Please see the PGP manual for more documentation.
See also GNU MP home page at http://www.swox.com/gmp/.
GNU MP library is available under the tems of GNU LGPL 
license. Please see http://www.swox.com/gmp/lgpl.html