fast image operations
Diffstat (limited to 'src/math.rs')
| -rw-r--r-- | src/math.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/math.rs b/src/math.rs index 212798c..6ff5572 100644 --- a/src/math.rs +++ b/src/math.rs @@ -1,4 +1,6 @@ +//! utility math /// Calculates `a * b + c`, with hardware support if possible. +#[allow(clippy::suboptimal_flops)] pub fn madd(a: f32, b: f32, c: f32) -> f32 { if cfg!(target_feature = "fma") { a.mul_add(b, c) |