runtime: expose rint from libm

This commit is contained in:
Sebastien Bourdeauducq 2021-10-10 20:40:29 +08:00
parent d765b83e36
commit 95d024e38b

View File

@ -254,6 +254,7 @@ pub fn resolve(required: &[u8]) -> Option<u32> {
api_libm_f64f64!(log10), api_libm_f64f64!(log10),
api_libm_f64f64f64!(nextafter), api_libm_f64f64f64!(nextafter),
api_libm_f64f64f64!(pow), api_libm_f64f64f64!(pow),
api_libm_f64f64!(rint),
api_libm_f64f64!(round), api_libm_f64f64!(round),
api_libm_f64f64!(sin), api_libm_f64f64!(sin),
api_libm_f64f64!(sinh), api_libm_f64f64!(sinh),