Re: Float comparison

From: Date: Sat, 03 May 2008 08:39:30 +0000
Subject: Re: Float comparison
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-37423@lists.php.net to get a copy of this message
On Sat, May 03, 2008 at 02:04:35AM +0100, Richard Quadling wrote: > 2008/5/3 Stanislav Malyshev <stas@zend.com>: > Is it not possible to overload operators? > > Though this would probably even more work to do. Overloading of operators implies strong typing, eg overload + for type money to be money::plus() Would this fit well with the PHP type juggling. Why not use the BC Math Functions ? -- Alain Williams Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php Chairman of UKUUG: http://www.ukuug.org/ #include <std_disclaimer.h>

« previous php.internals (#37423) next »