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>
11 lines
263 B
C
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
|