> >Would it be worth extending the engine to apply the fmod()
> >behavior to the % operator when operating on doubles?
> 
> I don't think so, it would be quite a weird BC bug. I don't remember any
> 
> complaints about its current behavior in the past few years so I don't
> 
> think it's worth changing.

FYI I'm porting some C/Python classes which are used for astronomical 
calculations (amateur astronomers may know of Meeus).  

I considered just rolling my own fmod() function in PHP but one look at the 
function in the glibc source scared the bejesus out of me :)

On the other hand, eventually getting a goodly chunk of the match functions 
from glibc into PHP must be a 'good thing' I guess.

Cheers,
 Graeme

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to