Edit report at https://bugs.php.net/bug.php?id=51798&edit=1

 ID:                 51798
 Updated by:         ni...@php.net
 Reported by:        david+php at 2good dot nu
 Summary:            Implement mpz_mul_2exp
-Status:             Open
+Status:             Closed
 Type:               Feature/Change Request
 Package:            GNU MP related
 Operating System:   Any
 PHP Version:        5.3.2
-Assigned To:        
+Assigned To:        nikic
 Block user comment: N
 Private report:     N

 New Comment:

This is supported in PHP 5.6 as $gmpNum << $shift.


Previous Comments:
------------------------------------------------------------------------
[2010-05-12 13:31:34] david+php at 2good dot nu

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 this bug report at https://bugs.php.net/bug.php?id=51798&edit=1

Reply via email to