Pops the element at the top of the stack if it is an f32 const; returns `None` otherwise.
(&mut self)
| 421 | /// Pops the element at the top of the stack if it is an f32 const; |
| 422 | /// returns `None` otherwise. |
| 423 | pub fn pop_f32_const(&mut self) -> Option<Ieee32> { |
| 424 | match self.peek() { |
| 425 | Some(v) => v.is_f32_const().then(|| self.pop().unwrap().unwrap_f32()), |
| 426 | _ => None, |
| 427 | } |
| 428 | } |
| 429 | |
| 430 | /// Pops the element at the top of the stack if it is an f64 const; |
| 431 | /// returns `None` otherwise. |
nothing calls this directly
no test coverage detected