-
Notifications
You must be signed in to change notification settings - Fork 144
Description
It looks like ARM processors like the ones on the new macbooks do not support np.float128. As a first step, we can change np.float128 to np.longdouble which will fallback to np.float64 on architectures without np.float128, so the code will still run, though we probably want to emit warnings in this case, since we know it will cause problems at moderate resolutions.
Of course we could just not support ARM... but I don't think that's a great idea, since all the macs are going in that direction and the performance is really good (I'm seeing 3x+ speedup over my intel macbook in running Dedalus).
Longer term I think this means we might need a new strategy for our Jacobi recursions, etc. We might be able to find/use software-based high-precision library like mpmath.