NumPy QuadDType API Documentation#
- numpy_quaddtype.LongDoubleQuadPrecDType()#
- numpy_quaddtype.LongDoubleQuadPrecision(value)#
- class numpy_quaddtype.QuadBackend(*values)#
Bases:
IntEnumBackend type for QuadPrecision computations.
- LONGDOUBLE = 1#
- SLEEF = 0#
- class numpy_quaddtype.QuadPrecDType(dtype, align=False, copy=False, **kwargs)#
Bases:
dtype- backend#
The backend used for quad precision (0=sleef, 1=longdouble)
- class numpy_quaddtype.QuadPrecision#
Bases:
floating- as_integer_ratio()#
Return a pair of integers whose ratio is exactly equal to the original value.
- dtype#
Data type descriptor for this scalar
- imag#
Imaginary part of the scalar (always 0 for real types)
- is_integer()#
Return True if the value is an integer.
- real#
Real part of the scalar
- numpy_quaddtype.SleefQuadPrecDType()#
- numpy_quaddtype.SleefQuadPrecision(value)#
- numpy_quaddtype.get_num_threads()#
Get number of threads for QuadBLAS
- numpy_quaddtype.get_quadblas_version()#
Get QuadBLAS version
- numpy_quaddtype.is_longdouble_128()#
Check if long double is 128-bit
- numpy_quaddtype.set_num_threads()#
Set number of threads for QuadBLAS