note 94614 added to ref.bc
| From: | thomas at tgohome dot com | Date: | Sat, 14 Nov 2009 20:49:04 +0000 |
| Subject: | note 94614 added to ref.bc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-162905@lists.php.net to get a copy of this message | ||
In the previous function, you should change:
$res += ...
to
$res = bcadd($res, ...
otherwise the function will only work up to double precision.
----
Server IP: 87.124.86.45
Probable Submitter: 86.157.97.69 (proxied: 86.157.97.69)
----
Manual Page -- http://www.php.net/manual/en/ref.bc.php
Edit -- https://master.php.net/note/edit/94614
Del: integrated -- https://master.php.net/note/delete/94614/integrated
Del: useless -- https://master.php.net/note/delete/94614/useless
Del: bad code -- https://master.php.net/note/delete/94614/bad+code
Del: spam -- https://master.php.net/note/delete/94614/spam
Del: non-english -- https://master.php.net/note/delete/94614/non-english
Del: in docs -- https://master.php.net/note/delete/94614/in+docs
Del: other reasons-- https://master.php.net/note/delete/94614
Reject -- https://master.php.net/note/reject/94614
Search -- https://master.php.net/manage/user-notes.php