From 95d024e38bcef33a418c41776e56ba1c06f83fd0 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 10 Oct 2021 20:40:29 +0800 Subject: [PATCH] runtime: expose rint from libm --- src/runtime/src/kernel/api.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/src/kernel/api.rs b/src/runtime/src/kernel/api.rs index 4d1868e..b8e91cb 100644 --- a/src/runtime/src/kernel/api.rs +++ b/src/runtime/src/kernel/api.rs @@ -254,6 +254,7 @@ pub fn resolve(required: &[u8]) -> Option { api_libm_f64f64!(log10), api_libm_f64f64f64!(nextafter), api_libm_f64f64f64!(pow), + api_libm_f64f64!(rint), api_libm_f64f64!(round), api_libm_f64f64!(sin), api_libm_f64f64!(sinh),