LibC: Fix typo in fenv.h

`FE_TOWARDSZERO` is actually spelled `FE_TOWARDZERO` (without the 'S')
This commit is contained in:
Mițca Dumitru
2021-03-04 19:38:21 +02:00
committed by Andreas Kling
parent 50632af4de
commit a13e8d49cf
2 changed files with 2 additions and 2 deletions

View File

@@ -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();