diff --git a/fixed_wide/src/fixed.rs b/fixed_wide/src/fixed.rs index da334f5..f777c11 100644 --- a/fixed_wide/src/fixed.rs +++ b/fixed_wide/src/fixed.rs @@ -1,6 +1,6 @@ use bnum::{BInt,cast::As}; -#[derive(Clone,Copy,Debug,Hash)] +#[derive(Clone,Copy,Debug,Default,Hash)] /// A Fixed point number for which multiply operations widen the bits in the output. (when the wide-mul feature is enabled) /// N is the number of u64s to use /// F is the number of fractional bits (always N*32 lol)