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
Thanks for the sample LSB. I need to revisit the float/double handling since the 80-bit extended precision doubles are also unavailable on ARM64 (apple silicon macs). This probably means handling the 80-bit serialization ourselves and accepting some loss of precision, but I don't have time to work on this at the moment.
In WSL on an x86 CPU, your patch should be fine as a temporary fix. If you also need writing/editing the LSB, it looks like there's another bug where tobytes() should be called using ndarray. You may also want to explicitly change numpy.longdouble to numpy.float96, although I think it should work either way on WSL or native x86 Linux.
So an updated patch to handle both dump + edit would look something like:
Activity
pmrowla commentedon Jun 10, 2025
Thanks for the sample LSB. I need to revisit the float/double handling since the 80-bit extended precision doubles are also unavailable on ARM64 (apple silicon macs). This probably means handling the 80-bit serialization ourselves and accepting some loss of precision, but I don't have time to work on this at the moment.
In WSL on an x86 CPU, your patch should be fine as a temporary fix. If you also need writing/editing the LSB, it looks like there's another bug where
tobytes()should be called using ndarray. You may also want to explicitly changenumpy.longdoubletonumpy.float96, although I think it should work either way on WSL or native x86 Linux.So an updated patch to handle both dump + edit would look something like: