![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Pear Pear programming, this is a very complex subject as with using pear with php can be a difficult task for some, so lets talk pear. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| terrafrost Sat May 26 20:15:44 2007 UTC Modified files: /pear/Math_BigInteger BigInteger.php Log: - deleted lines that i meant to delete before the last commit http://cvs.php.net/viewvc.cgi/pear/M...&diff_format=u Index: pear/Math_BigInteger/BigInteger.php diff -u pear/Math_BigInteger/BigInteger.php:1.7 pear/Math_BigInteger/BigInteger.php:1.8 --- pear/Math_BigInteger/BigInteger.php:1.7 Sat May 26 20:14:13 2007 +++ pear/Math_BigInteger/BigInteger.php Sat May 26 20:15:44 2007 @@ -69,7 +69,7 @@ * @author Jim Wigginton <terrafrost@php.net> * @copyright MMVI Jim Wigginton * @license http://www.gnu.org/licenses/lgpl.txt - * @version CVS: $Id: BigInteger.php,v 1.7 2007/05/26 20:14:13 terrafrost Exp $ + * @version CVS: $Id: BigInteger.php,v 1.8 2007/05/26 20:15:44 terrafrost Exp $ * @link http://pear.php.net/package/Math_BigInteger */ @@ -1307,12 +1307,9 @@ $n_length = count($n->value); for ($i = 0; $i < $n_length; $i++) { - $digit = $result->value[$i] * $cache[MATH_BIGINTEGER_DATA]; $temp = new Math_BigInteger(); $temp->value = array( - //$digit - floor($digit / 0x4000000) * 0x4000000 - //$digit - ($digit & 0xFC000000) - $digit & 0x3FFFFFF + ($result->value[$i] * $cache[MATH_BIGINTEGER_DATA]) & 0x3FFFFFF ); $temp = $temp->multiply($n); $temp->value = array_merge($this->_array_repeat(0, $i), $temp->value); | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: bigintegerphp, cvs, math_biginteger, pear |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cvs: pear /Math_BigInteger BigInteger.php | Jim Wigginton | Pear | 0 | 05-27-2007 6:47 PM |
| cvs: pear /Math_BigInteger BigInteger.php | Jim Wigginton | Pear | 0 | 05-20-2007 6:42 PM |
| cvs: pear-core / package-PEAR.xml package2.xml /PEAR/PackageFile/Generator v2.php | Greg Beaver | Pear | 0 | 05-20-2007 6:42 PM |
| cvs: pear-core / package-PEAR.xml package2.xml /PEAR Installer.php /PEAR/PackageFile v1.php /PEAR/PackageFile/v2 Validator.php | Greg Beaver | Pear | 0 | 05-20-2007 6:42 PM |
| cvs: pear-core / package-PEAR.xml package2.xml /PEAR Downloader.php /PEAR/Downloader Package.php | Greg Beaver | Pear | 0 | 05-20-2007 6:42 PM |
| Featured Websites | ||||
|