mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
LibC: Fix typo in fenv.h
`FE_TOWARDSZERO` is actually spelled `FE_TOWARDZERO` (without the 'S')
This commit is contained in:
parent
50632af4de
commit
a13e8d49cf
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue