You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, float128is notbinary128 format. It is for 80-bit precision floats.
Supposedly there exists np.float96. I don't have this on my system.
The dtypes np.float96 and np.float128 both represent np.longdouble, just with different amounts of zero-padding. (float96 aligns to 32-bit boundaries, float128 aligns to 64-bit boundaries).
Also, I had no idea this was the case, but: Even my own system has 80-bit precision for long double!
numpy has
float16
andfloat128
datatypes, which can appear in npy files.There exists a crate called
half
for binary16-encoded floats.The text was updated successfully, but these errors were encountered: