diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-14 18:10:13 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-14 19:28:34 +0100 |
| commit | 872cf03f26c2801ae6c3008ce5fa0d7856f5f85d (patch) | |
| tree | 94809812b71ee286eb5b74c70e4d08fc4c8dc057 /lib/libc/fenv | |
| parent | ec769a83bde09c76bd6ad9ee7f391036dba5cd97 (diff) | |
libc: implement err/warn functions
Diffstat (limited to 'lib/libc/fenv')
| -rw-r--r-- | lib/libc/fenv/Kbuild | 1 | ||||
| -rw-r--r-- | lib/libc/fenv/fesetround.c | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/fenv/Kbuild b/lib/libc/fenv/Kbuild new file mode 100644 index 00000000..f20c5a3f --- /dev/null +++ b/lib/libc/fenv/Kbuild @@ -0,0 +1 @@ +obj-y += fesetround.o diff --git a/lib/libc/fenv/fesetround.c b/lib/libc/fenv/fesetround.c new file mode 100644 index 00000000..0c7c6bfe --- /dev/null +++ b/lib/libc/fenv/fesetround.c @@ -0,0 +1,8 @@ +#include <fenv.h> + +int __fesetround(int); + +int fesetround(int round) +{ + return __fesetround(round); +} |
