note 127301 added to function.sqrt
| From: | Andrew at main dot php dot net | Date: | Tue, 19 Jul 2022 10:22:50 +0000 |
| Subject: | note 127301 added to function.sqrt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-219032@lists.php.net to get a copy of this message | ||
Some common square roots are defined as constants, to save the overhead of calculating them:
M_SQRT2 = sqrt(2)
M_SQRT3 = sqrt(3)
M_SQRTPI = sqrt(pi)
M_2_SQRTPI = 2 / sqrt(pi)
M_SQRT_1_2 = sqrt(1/2)
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.135 (proxied: 217.33.116.130)
----
Manual Page -- https://php.net/manual/en/function.sqrt.php
Edit -- https://main.php.net/note/edit/127301
Del: integrated -- https://main.php.net/note/delete/127301/integrated
Del: useless -- https://main.php.net/note/delete/127301/useless
Del: bad code -- https://main.php.net/note/delete/127301/bad+code
Del: spam -- https://main.php.net/note/delete/127301/spam
Del: non-english -- https://main.php.net/note/delete/127301/non-english
Del: in docs -- https://main.php.net/note/delete/127301/in+docs
Del: other reasons-- https://main.php.net/note/delete/127301
Reject -- https://main.php.net/note/reject/127301
Search -- https://main.php.net/manage/user-notes.php