about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibm.c
diff options
context:
space:
mode:
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