We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41a7635 commit 9b7763bCopy full SHA for 9b7763b
newlib/libc/machine/sh/sys/fenv.h
@@ -60,11 +60,15 @@ typedef int fexcept_t;
60
/* Exception flags */
61
#define FE_INVALID 0x0040
62
#define FE_DIVBYZERO 0x0020
63
+#if defined(__SH2E__)
64
+#define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INVALID)
65
+#else
66
#define FE_OVERFLOW 0x0010
67
#define FE_UNDERFLOW 0x0008
68
#define FE_INEXACT 0x0004
69
#define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \
70
FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW)
71
+#endif
72
73
/* Rounding modes */
74
#define FE_TONEAREST 0x0000
0 commit comments