Log
The logarithm of z in base b, defaulting to base 10.
Wikipedia
LogarithmMathWorldLogarithmWikidataQ11197Encyclopedia of MathematicsLogarithm_of_a_numbernLablogarithmBritannicascience/logarithmFungrimLogLog(z)the base-10 logarithm of z.Log(z, b)the logarithm of z in base b.Log(z, b = 10)The logarithm of z in base b, defaulting to base 10.SageMath
log(z, b = 10)!SymPylog(z, b = 10)mpmathlog(z, b = 10)Juliaenumeratio_ball(_log_base, z, b = 10)Typed signatures
| Type | Package | Applies |
|---|---|---|
(complex | infinity, base: (complex | infinity)?) -> number | analyticreplaces compute-engine | always |
(complex | infinity, base: (complex | infinity)?) -> number | compute-engine | always |
Details
Plot
Examples
4 more kept as data, checked against the oraclesBasic #
Properties #
Possible issues #
A negative argument stays symbolic, with the default base filled in; wrap in N(...) for the complex value
live ↗InOut
About
| Examples | 18 |
|---|---|
| Checked against | Wolfram Language 15 agree3 differSageMath 15 agree3 differSymPy 14 agree4 differmpmath 14 agree3 differJulia 13 agree3 differ1 errorRust 11 agree6 error |
| Crosswalk | WikipediaMathWorldWikidataEncyclopedia of MathematicsnLabBritannicaFungrimSageMath ×2SymPy ×2mpmath ×2Julia ×2Rust |
Implementation
mapped
sympypackages/oracle/src/mappings.tscompute-engine's one-argument Log is base 10, not the natural logarithm; SymPy's log takes the value first and then the base.
mapped
sympypackages/oracle/src/mappings.tsmapped
mpmathpackages/oracle/src/mappings.tsmapped
mpmathpackages/oracle/src/mappings.tsmapped
sagepackages/oracle/src/mappings.tsmapped
sagepackages/oracle/src/mappings.tsmapped
juliapackages/oracle/src/mappings.tsmapped
juliapackages/oracle/src/mappings.tsmapped
rustpackages/oracle/src/mappings.tsmapped
rustpackages/oracle/src/mappings.tsThe quotient of natural logarithms: std has no logarithm to a base.