From: Operating system: Any PHP version: 5.3.2 Package: GNU MP related Bug Type: Feature/Change Request Bug description:Implement mpz_mul_2exp
Description: ------------ A number of GMP functions are not yet exposed through PHP, for example mpz_mul_2exp; "Set rop to op1 times 2 raised to op2. This operation can also be defined as a left shift by op2 bits." See also http://svn.php.net/viewvc/php/php-src/trunk/ext/gmp/TODO?view=markup If I implement it I will attach the patch. -- Edit bug report at http://bugs.php.net/bug.php?id=51798&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51798&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51798&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51798&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51798&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51798&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51798&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51798&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51798&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51798&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51798&r=support Expected behavior: http://bugs.php.net/fix.php?id=51798&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51798&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51798&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51798&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51798&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=51798&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51798&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51798&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51798&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51798&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51798&r=mysqlcfg
