From 583a18dd5f2aa6319fd030dcdd8add6bc4e60c4d 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 00c0f23e6..6d14891a7 100644 --- a/artiq/firmware/ksupport/api.rs +++ b/artiq/firmware/ksupport/api.rs @@ -70,6 +70,7 @@ static mut API: &'static [(&'static str, *const ())] = &[ api!(sqrt), api!(round), api!(floor), + api!(fmod), /* exceptions */ api!(_Unwind_Resume = ::unwind::_Unwind_Resume),