Log2
The base-2 (binary) logarithm of z.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
Log2✓Log2(z)the base-2 logarithm of z, .Typed signatures
| Type | Package | Applies |
|---|---|---|
(number) -> number | compute-engine | always |
Details
- Equivalent to Log(z, 2), and identical to Lb.
- Folds exactly for an integer power of 2 in either direction -- positive () or negative ().
Plot
Examples
About
| Examples | 23 |
|---|---|
| Checked against | Wolfram Language 23 agreeSageMath 20 agreeSymPy 19 agree3 differmpmath 16 agreeJulia 13 agree3 errorRust 12 agree2 error |
| Crosswalk | Wolfram LanguageSageMathSymPympmathJuliaRust |
Implementation
mapped
sympypackages/oracle/src/mappings.tsmapped
mpmathpackages/oracle/src/mappings.tsmapped
sagepackages/oracle/src/mappings.tsmapped
juliapackages/oracle/src/mappings.tsmapped
rustpackages/oracle/src/mappings.ts