Add missing num_traits import

This commit is contained in:
J Henry Waugh 2020-08-14 19:30:27 -05:00
parent 7fcbfcc7fd
commit eabf9db263

View File

@ -211,6 +211,8 @@ mod float_functions {
mod float_funcs {
use crate::parser::FLOAT;
use crate::plugin::*;
#[cfg(feature = "no_std")]
use num_traits::float::Float;
#[export_fn]
pub fn floor(x: FLOAT) -> FLOAT {