about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibm.c
diff options
context:
space:
mode:
authorrajdakin <rajdakin@gmail.com>2024-09-01 19:06:03 +0200
committerGitHub <noreply@github.com>2024-09-01 19:06:03 +0200
commitea807eda045be675301cea084e311bc4feae17f0 (patch)
treeca1694d3ef543ec65d384b5570f6c4ed05c48fec /src/wrapped/wrappedlibm.c
parent36321f809dfe33d26df26de2913aa1df3f8cfa61 (diff)
downloadbox64-ea807eda045be675301cea084e311bc4feae17f0.tar.gz
box64-ea807eda045be675301cea084e311bc4feae17f0.zip
[WRAPPED] Merged types D/K and Y/y in 64bits wrapped libs (#1784)
* [WRAPPED] Merged types D/K and Y/y in 64bits wrapped libs

* [WRAPPERS] Version bump

* [WRAPPED] Fixed wrapped glib2 on non-LD80BITS builds
Diffstat (limited to 'src/wrapped/wrappedlibm.c')
-rw-r--r--src/wrapped/wrappedlibm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibm.c b/src/wrapped/wrappedlibm.c
index f1941cc4..15b4028c 100644
--- a/src/wrapped/wrappedlibm.c
+++ b/src/wrapped/wrappedlibm.c
@@ -191,6 +191,14 @@ EXPORT double my_llrintl(x64emu_t* emu, double val)
     }
     return llrint(val);
 }
+EXPORT double my_nexttoward(x64emu_t* emu, double val, double to)
+{
+    return nexttoward(val, to);
+}
+EXPORT float my_nexttowardf(x64emu_t* emu, float val, double to)
+{
+    return nexttowardf(val, to);
+}
 #endif
 
 #ifdef ANDROID