mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
math: updates for py312 (#10213)
This commit is contained in:
@@ -112,7 +112,10 @@ def log1p(__x: _SupportsFloatOrIndex) -> float: ...
|
||||
def log2(__x: _SupportsFloatOrIndex) -> float: ...
|
||||
def modf(__x: _SupportsFloatOrIndex) -> tuple[float, float]: ...
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
if sys.version_info >= (3, 12):
|
||||
def nextafter(__x: _SupportsFloatOrIndex, __y: _SupportsFloatOrIndex, *, steps: SupportsIndex | None = None) -> float: ...
|
||||
|
||||
elif sys.version_info >= (3, 9):
|
||||
def nextafter(__x: _SupportsFloatOrIndex, __y: _SupportsFloatOrIndex) -> float: ...
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
@@ -130,6 +133,10 @@ def radians(__x: _SupportsFloatOrIndex) -> float: ...
|
||||
def remainder(__x: _SupportsFloatOrIndex, __y: _SupportsFloatOrIndex) -> float: ...
|
||||
def sin(__x: _SupportsFloatOrIndex) -> float: ...
|
||||
def sinh(__x: _SupportsFloatOrIndex) -> float: ...
|
||||
|
||||
if sys.version_info >= (3, 12):
|
||||
def sumprod(__p: Iterable[float], __q: Iterable[float]) -> float: ...
|
||||
|
||||
def sqrt(__x: _SupportsFloatOrIndex) -> float: ...
|
||||
def tan(__x: _SupportsFloatOrIndex) -> float: ...
|
||||
def tanh(__x: _SupportsFloatOrIndex) -> float: ...
|
||||
|
||||
Reference in New Issue
Block a user