#19949 [NEW]: Modulo dividing error
| From: | fft at top2 dot pl | Date: | Thu, 17 Oct 2002 08:49:23 +0000 |
| Subject: | #19949 [NEW]: Modulo dividing error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-22646@lists.php.net to get a copy of this message | ||
From: fft@top2.pl
Operating system: Linux-2.4.18 i686
PHP version: 4.2.2
PHP Bug Type: *Math Functions
Bug description: Modulo dividing error
$n=xxx99;
$nmod=$n%100;
echo $nmod;
//returned incorrect value 98
./configure --prefix=/my/prefix/path --sysconfdir=/my_sysconfig_dir
--with-config-file-path=/my_config_file_path --with-mm
--with-mysql=/path_to_mysql --enable-track-vars --enable-trans-sid
--enable-globals --enable-ftp --with-openssl --enable-sockets
--enable-rule=EAPI --enable-inline-optimization --enable-bcmath
--
Edit bug report at http://bugs.php.net/?id=19949&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19949&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19949&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19949&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19949&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19949&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19949&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19949&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19949&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19949&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19949&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19949&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=19949&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=19949&r=isapi