`FE_TOWARDSZERO` is actually spelled `FE_TOWARDZERO` (without the 'S')
@@ -157,7 +157,7 @@ int fegetround()
int fesetround(int rounding_mode)
{
- if (rounding_mode < FE_TONEAREST || rounding_mode > FE_TOWARDSZERO)
+ if (rounding_mode < FE_TONEAREST || rounding_mode > FE_TOWARDZERO)
return 1;
auto control_word = read_control_word();
@@ -77,7 +77,7 @@ int feraiseexcept(int exceptions);
#define FE_TONEAREST 0
#define FE_DOWNWARD 1
#define FE_UPWARD 2
-#define FE_TOWARDSZERO 3
+#define FE_TOWARDZERO 3
int fesetround(int round);
int fegetround(void);