note 102272 added to function.sqrt

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
netmask and wietse89: you can use log() to achieve it:

<?php
$result = log(256, 2);
echo $result;
/*
 * Output: 8
 */
?>

And log() always returns float.
----
Server IP: 69.147.83.197
Probable Submitter: 189.71.221.241
----
Manual Page -- http://www.php.net/manual/en/function.sqrt.php
Edit        -- https://master.php.net/note/edit/102272
Del: integrated  -- https://master.php.net/note/delete/102272/integrated
Del: useless     -- https://master.php.net/note/delete/102272/useless
Del: bad code    -- https://master.php.net/note/delete/102272/bad+code
Del: spam        -- https://master.php.net/note/delete/102272/spam
Del: non-english -- https://master.php.net/note/delete/102272/non-english
Del: in docs     -- https://master.php.net/note/delete/102272/in+docs
Del: other reasons-- https://master.php.net/note/delete/102272
Reject      -- https://master.php.net/note/reject/102272
Search      -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.