ID:               20102
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         *Math Functions
 Operating System: Redhat Linux 7.3
 PHP Version:      4.2.3
 New Comment:

your $modwidth value is way beyond the 
usable and valid range (unless you are
on a 64bit system ;)


Previous Comments:
------------------------------------------------------------------------

[2002-10-26 03:19:18] [EMAIL PROTECTED]

When I try to mod some integer, it returns false value, it's different
with the calculator. Here is the example :

<?php
  $int = 700000000;
  $modwith = 1000000000000;
  print $int%$modwith; // it return 700000000
                       // this is correnct.
  $int = 800000000;
  print $int%$modwith; // it return 72620032
                       // this is false, it supposed to be 800000000
?> 

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20102&edit=1

Reply via email to