Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Binary logarithm
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Software library support=== The <code>log2</code> function is included in the standard [[C mathematical functions]]. The default version of this function takes [[double precision]] arguments but variants of it allow the argument to be single-precision or to be a [[long double]].<ref>{{citation | url=http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf | title=ISO/IEC 9899:1999 specification | page=226| contribution = 7.12.6.10 The log2 functions }}.</ref> In computing environments supporting [[complex number|complex numbers]] and implicit type conversion such as [[MATLAB]] the argument to the <code>log2</code> function is allowed to be a [[negative number]], returning a complex one.<ref>{{citation|title=The Matlab® 5 Handbook|first1=Darren|last1=Redfern|first2=Colin|last2=Campbell|publisher=Springer-Verlag|year=1998|isbn=978-1-4612-2170-8|url=https://books.google.com/books?id=KQDaBwAAQBAJ&pg=PA141|page=141}}.</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)