From 928cffb09b45050ada417db64bff8a90f93847b9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 10 Sep 2017 12:07:06 +0800 Subject: [PATCH] firmware: export floor() in ksupport. Closes #828 --- artiq/firmware/ksupport/api.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/firmware/ksupport/api.rs b/artiq/firmware/ksupport/api.rs index 60e11b80a..1cf3ce884 100644 --- a/artiq/firmware/ksupport/api.rs +++ b/artiq/firmware/ksupport/api.rs @@ -71,6 +71,7 @@ static mut API: &'static [(&'static str, *const ())] = &[ /* libm */ api!(sqrt), api!(round), + api!(floor), /* exceptions */ api!(_Unwind_Resume = ::unwind::_Unwind_Resume),