#28508 [NEW]: hypot is broken
| From: | techtonik at tut dot by | Date: | Mon, 24 May 2004 16:27:42 +0000 |
| Subject: | #28508 [NEW]: hypot is broken | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-59940@lists.php.net to get a copy of this message | ||
From: techtonik at tut dot by
Operating system: Windows 2000
PHP version: 4.3.6
PHP Bug Type: Math related
Bug description: hypot is broken
Description:
------------
hypot() support seems to be broken on windows. Can anybody confirm?
Reproduce code:
---------------
<?php
$x = hypot(3, 4);
var_dump($x);
?>
Expected result:
----------------
5
Actual result:
--------------
NULL
--
Edit bug report at http://bugs.php.net/?id=28508&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28508&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28508&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28508&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28508&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28508&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28508&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28508&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28508&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28508&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28508&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28508&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28508&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28508&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28508&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28508&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28508&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28508&r=float