From abd3c2a0dbf6dbdbf861e3e8010b86d6bfba6afd Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 10 Jan 2020 14:33:02 +0800 Subject: [PATCH] firmware: expose fmod to kernels. Closes #1417 --- 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 77d8b1edc..34375c30e 100644 --- a/artiq/firmware/ksupport/api.rs +++ b/artiq/firmware/ksupport/api.rs @@ -68,6 +68,7 @@ static mut API: &'static [(&'static str, *const ())] = &[ api!(sqrt), api!(round), api!(floor), + api!(fmod), /* exceptions */ api!(_Unwind_Resume = ::unwind::_Unwind_Resume),