Change value of base in math.log to e
This commit is contained in:
parent
20cc40a30f
commit
211d42f58d
@ -157,7 +157,7 @@ STATIC NORETURN void math_error(void) {
|
||||
//| """Return ``x * (2**exp)``."""
|
||||
//| ...
|
||||
//|
|
||||
//| def log(x: float, base: float = 2.71828) -> float:
|
||||
//| def log(x: float, base: float = e) -> float:
|
||||
//| """Return the logarithm of x to the given base. If base is not specified,
|
||||
//| returns the natural logarithm (base e) of x"""
|
||||
//| ...
|
||||
|
Loading…
Reference in New Issue
Block a user