#31236 [NEW]: tan(M_PI_4) = 1, not tan(M_PI_2)
| From: | dtorop933 at gmail dot com | Date: | Tue, 21 Dec 2004 23:17:42 +0000 |
| Subject: | #31236 [NEW]: tan(M_PI_4) = 1, not tan(M_PI_2) | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969365562@lists.php.net to get a copy of this message | ||
From: dtorop933 at gmail dot com
Operating system: GNU/Linux
PHP version: 5.0.3
PHP Bug Type: Documentation problem
Bug description: tan(M_PI_4) = 1, not tan(M_PI_2)
Description:
------------
In documentation http://php.net/tan, example code says:
echo tan(M_PI_2); // 1
The comment implies tan(M_PI_2) = 1.
But tan(M_PI_2) is a really really big number, tan(M_PI_4) = 1.
--
Edit bug report at http://bugs.php.net/?id=31236&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31236&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31236&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31236&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31236&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31236&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31236&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31236&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31236&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31236&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31236&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31236&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31236&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31236&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31236&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31236&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31236&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31236&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31236&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31236&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31236&r=mysqlcfg