Andrew J. Hesford 23b1f238bc python3-numpy: update to 1.19.5, fix armv5tel-musl
In fenv.h, musl disables the normal set of constants that you would get
on arm with an arm device with an fpu (armv6 and up), but armv5tel on
void uses softfloat all the time. But python3-numpy dosen't use these to
interact with the fpu (the compiler would generate those instructions)
and rather just uses those constants for a generic GCC implementation.
So we give them out anyway.

Co-authored-by: fosslinux <fosslinux@aussies.space>
Co-authored-by: Andrew J. Hesford <ajh@sideband.org>
2021-01-06 11:07:38 -05:00

11 lines
263 B
C

#define FE_INVALID 1
#define FE_DIVBYZERO 2
#define FE_OVERFLOW 4
#define FE_UNDERFLOW 8
#define FE_INEXACT 16
#define FE_ALL_EXCEPT 31
#define FE_TONEAREST 0
#define FE_DOWNWARD 0x800000
#define FE_UPWARD 0x400000
#define FE_TOWARDZERO 0xc00000