From 3582af564d87d759cec1b772d0514425fbc097b9 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 4d1868ea..b8e91cb2 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),