The problem is that N is a double and gcc does not like doing % on
doubles, at least if the compiler error is to be believed.
On 6-Jun-07, at 9:12 PM, Stanislav Malyshev wrote:
I suspect you meant something different here. shouldn't it be:
N -= floor(N/24)*24
in both cases?
BTW, just out of curiosity - which compilers can't do % and need
floor?
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED] http://www.zend.com/
Ilia Alshanetsky
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php