(&mut self, f: f32)
| 154 | } |
| 155 | |
| 156 | fn append_float_var(&mut self, f: f32) { |
| 157 | let var = format!( |
| 158 | "FDPConsumeFloatingPoint(fuzz_float_{}, fdp);", |
| 159 | self.get_fuzz_id_inc() |
| 160 | ); |
| 161 | self.fuzz_stmts.push(var); |
| 162 | let bytes = f.to_le_bytes(); |
| 163 | self.append_fuzz_seeds(&bytes); |
| 164 | } |
| 165 | |
| 166 | pub fn append_float_vars(&mut self, floats: Vec<f32>) { |
| 167 | for f in floats { |
no test coverage detected