diff options
author | Mițca Dumitru <dumitru0mitca@gmail.com> | 2021-03-04 19:38:21 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-04 19:40:40 +0100 |
commit | a13e8d49cf698a345867eab8b17e7e156b56814c (patch) | |
tree | 49b5aa05f69e50783ac8deb02019b32a9787baab /Userland | |
parent | 50632af4de940f2dfa6129b3ba1b495af987390f (diff) | |
download | serenity-a13e8d49cf698a345867eab8b17e7e156b56814c.zip |
LibC: Fix typo in fenv.h
`FE_TOWARDSZERO` is actually spelled `FE_TOWARDZERO` (without the 'S')
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibC/fenv.cpp | 2 | ||||
-rw-r--r-- | Userland/Libraries/LibC/fenv.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibC/fenv.cpp b/Userland/Libraries/LibC/fenv.cpp index 780089c422..4116ac2270 100644 --- a/Userland/Libraries/LibC/fenv.cpp +++ b/Userland/Libraries/LibC/fenv.cpp @@ -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(); diff --git a/Userland/Libraries/LibC/fenv.h b/Userland/Libraries/LibC/fenv.h index 399c329af4..ef23ce9e84 100644 --- a/Userland/Libraries/LibC/fenv.h +++ b/Userland/Libraries/LibC/fenv.h @@ -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); |