We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da21807 + 211d42f commit 4c240d7Copy full SHA for 4c240d7
shared-bindings/math/__init__.c
@@ -157,6 +157,11 @@ STATIC NORETURN void math_error(void) {
157
//| """Return ``x * (2**exp)``."""
158
//| ...
159
//|
160
+//| def log(x: float, base: float = e) -> float:
161
+//| """Return the logarithm of x to the given base. If base is not specified,
162
+//| returns the natural logarithm (base e) of x"""
163
+//| ...
164
+//|
165
//| def modf(x: float) -> Tuple[float, float]:
166
//| """Return a tuple of two floats, being the fractional and integral parts of
167
//| ``x``. Both return values have the same sign as ``x``."""
0 commit comments