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