@@ -519,12 +519,12 @@ __all__ = [ # noqa: RUF022
519519 "bitwise_and" , "bitwise_count" , "bitwise_invert" , "bitwise_left_shift" , "bitwise_not" , "bitwise_or" ,
520520 "bitwise_right_shift" , "bitwise_xor" , "block" , "bool" , "bool_" , "broadcast" , "busday_count" , "busday_offset" ,
521521 "busdaycalendar" , "byte" , "bytes_" , "can_cast" , "cbrt" , "cdouble" , "ceil" , "character" , "choose" , "clip" ,
522- "clongdouble" , "complex128" , "complex64 " , "complexfloating" , "compress" , "concat" ,
522+ "clongdouble" , "complex64" , " complex128" , "complex192" , "complex256 " , "complexfloating" , "compress" , "concat" ,
523523 "concatenate" , "conj" , "conjugate" , "convolve" , "copysign" , "copyto" , "correlate" , "cos" , "cosh" , "count_nonzero" ,
524524 "cross" , "csingle" , "cumprod" , "cumsum" , "cumulative_prod" , "cumulative_sum" , "datetime64" , "datetime_as_string" ,
525525 "datetime_data" , "deg2rad" , "degrees" , "diagonal" , "divide" , "divmod" , "dot" , "double" , "dtype" , "e" , "einsum" ,
526526 "einsum_path" , "empty" , "empty_like" , "equal" , "errstate" , "euler_gamma" , "exp" , "exp2" , "expm1" , "fabs" , "finfo" ,
527- "flatiter" , "flatnonzero" , "flexible" , "float16" , "float32" , "float64" , "float_power" ,
527+ "flatiter" , "flatnonzero" , "flexible" , "float16" , "float32" , "float64" , "float96" , "float128" , " float_power" ,
528528 "floating" , "floor" , "floor_divide" , "fmax" , "fmin" , "fmod" , "format_float_positional" , "format_float_scientific" ,
529529 "frexp" , "from_dlpack" , "frombuffer" , "fromfile" , "fromfunction" , "fromiter" , "frompyfunc" , "fromstring" , "full" ,
530530 "full_like" , "gcd" , "generic" , "geomspace" , "get_printoptions" , "getbufsize" , "geterr" , "geterrcall" , "greater" ,
@@ -595,11 +595,6 @@ __all__ = [ # noqa: RUF022
595595 "__version__" ,
596596] # fmt: skip
597597
598- if sys .platform == "win32" or sys .platform == "cygwin" :
599- __all__ += ["complex192" , "float96" ]
600- else :
601- __all__ += ["complex256" , "float128" ]
602-
603598###
604599# Constrained types (for internal use only)
605600
@@ -4703,10 +4698,8 @@ class longdouble(_FloatMixin[L[12, 16]], floating):
47034698 @override
47044699 def tolist (self , / ) -> Self : ... # pyright: ignore[reportIncompatibleMethodOverride]
47054700
4706- if sys .platform == "win32" or sys .platform == "cygwin" :
4707- float96 = longdouble
4708- else :
4709- float128 = longdouble
4701+ float96 = longdouble
4702+ float128 = longdouble
47104703
47114704class complexfloating (inexact [complex ]):
47124705 @override
@@ -4893,10 +4886,8 @@ class clongdouble(complexfloating):
48934886 #
48944887 def __complex__ (self , / ) -> complex : ...
48954888
4896- if sys .platform == "win32" or sys .platform == "cygwin" :
4897- complex192 = clongdouble
4898- else :
4899- complex256 = clongdouble
4889+ complex192 = clongdouble
4890+ complex256 = clongdouble
49004891
49014892# NOTE: The `object_` constructor returns the passed object, so instances with type `object_` cannot exists at runtime.
49024893# NOTE: Because mypy does not fully support `__new__`, `object_` can't be made generic.
0 commit comments