@@ -4714,15 +4714,15 @@ class number(
4714
4714
4715
4715
#
4716
4716
@overload
4717
- def __truediv__ (self , x : _nt .CoFloating_0d | _nt .CastsScalar [Self ] | _JustNumber , / ) -> inexact : ...
4717
+ def __truediv__ (self , x : _nt .CoFloat64_0d | _nt .CastsScalar [Self ] | _JustNumber , / ) -> inexact : ...
4718
4718
@overload
4719
4719
def __truediv__ (self , x : _nt .CastsWithScalar [Self , _InexactT ], / ) -> _InexactT : ...
4720
4720
@overload
4721
4721
def __truediv__ (self : _nt .CastsWithComplex [_ComplexFloatingT ], x : _nt .JustComplex , / ) -> _ComplexFloatingT : ...
4722
4722
4723
4723
#
4724
4724
@overload
4725
- def __rtruediv__ (self , x : _nt .CoFloating_0d | _nt .CastsScalar [Self ] | _JustNumber , / ) -> inexact : ...
4725
+ def __rtruediv__ (self , x : _nt .CoFloat64_0d | _nt .CastsScalar [Self ] | _JustNumber , / ) -> inexact : ...
4726
4726
@overload
4727
4727
def __rtruediv__ (self , x : _nt .CastsWithScalar [Self , _InexactT ], / ) -> _InexactT : ...
4728
4728
@overload
@@ -5136,9 +5136,6 @@ class floating(_RealMixin, _RoundMixin, inexact[_BitT, float]):
5136
5136
@override
5137
5137
@type_check_only
5138
5138
def __nep50_rule3__ (self , other : _JustFloating , / ) -> floating : ...
5139
- @override
5140
- @type_check_only
5141
- def __nep50_rule4__ (self , other : _JustComplexFloating , / ) -> complexfloating : ...
5142
5139
5143
5140
#
5144
5141
@override
@@ -5245,7 +5242,12 @@ double = float64
5245
5242
class longdouble (_FloatMixin [L [12 , 16 ]], floating [_n ._64L ]):
5246
5243
@override
5247
5244
@type_check_only
5248
- def __nep50__ (self , below : _nt .inexact64l , above : _float64_max | _nt .co_integer , / ) -> longdouble : ...
5245
+ def __nep50__ (
5246
+ self ,
5247
+ below : longdouble | clongdouble ,
5248
+ above : _nt .co_float64 ,
5249
+ / ,
5250
+ ) -> longdouble : ...
5249
5251
@override
5250
5252
@type_check_only
5251
5253
def __nep50_complex__ (self , / ) -> clongdouble : ...
@@ -5255,6 +5257,9 @@ class longdouble(_FloatMixin[L[12, 16]], floating[_n._64L]):
5255
5257
@override
5256
5258
@type_check_only
5257
5259
def __nep50_rule4__ (self , other : complexfloating | _JustComplexFloating , / ) -> clongdouble : ...
5260
+ @override
5261
+ @type_check_only
5262
+ def __nep50_rule6__ (self , other : _JustInexact | _JustNumber , / ) -> longdouble | clongdouble : ...
5258
5263
5259
5264
#
5260
5265
@overload
0 commit comments