Re: [PHP-DEV] fp, rounding, decimal arithmetic - definitive

2004-07-24 Thread George Whiffen
ee what was changed. Thanks, Andi Sure. http://www.whiffen.net/phprounding/math.udiff http://www.whiffen.net/phprounding/formatted_print.udiff http://www.whiffen.net/phprounding/zend_operators.udiff At 02:19 PM 7/23/2004 +0300, George Whiffen wrote: For the record, herewith: - definitive (?) list of php&#x

[PHP-DEV] Re: fp, rounding, decimal arithmetic - definitive account?

2004-07-23 Thread George Whiffen
t could lead to some weird compatibility problems with older version) but I wouldn't advise people who really, really have to rely on their numbers to be correct to use floats anyway. George Whiffen wrote: > Exactly my point. When coding php you need floating point you can > tru

[PHP-DEV] Re: fp, rounding, decimal arithmetic - definitive account?

2004-07-23 Thread George Whiffen
Christian Schneider wrote: George Whiffen wrote: As you either already know or could reasonably guess, my personal view is that simple, consistent, exact decimal arithmetic is highly desirable for any development tool intended for either novices or commercial use. I use BCMath for critical

[PHP-DEV] fp, rounding, decimal arithmetic - definitive account?

2004-07-23 Thread George Whiffen
already know or could reasonably guess, my personal view is that simple, consistent, exact decimal arithmetic is highly desirable for any development tool intended for either novices or commercial use. The fact that C does not offer decimal arithmetic is unsurprising given its pedigree and key application areas. The fact that other Open-Source tools such as tcl, Perl and MySQL have decimal problems may owe to the difficulties of implementing solutions given their code structure. The fact that php still has decimal problems given its user base and the relative ease with which the problems can be solved, is something I do not yet understand. Awaiting enlightenment, George Whiffen -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] include() - partial includes?

2003-05-29 Thread George Whiffen
Apologies in advance if internals is not for feature requests. include() and require() pick up the whole file. Could we have the option to include just part of the file? Proposed new syntax for include(), require(): include ( string filename [, string start_tag [, string end_tag]]) If the opt