Add missing num_traits import
This commit is contained in:
parent
7fcbfcc7fd
commit
eabf9db263
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user