(self)
| 101 | } |
| 102 | #[inline] |
| 103 | fn wasm_floor(self) -> f32 { |
| 104 | if self.is_nan() { |
| 105 | return f32::NAN; |
| 106 | } |
| 107 | #[cfg(feature = "std")] |
| 108 | if !cfg!(target_arch = "riscv64") { |
| 109 | return self.floor(); |
| 110 | } |
| 111 | libm::floorf(self) |
| 112 | } |
| 113 | #[inline] |
| 114 | fn wasm_ceil(self) -> f32 { |
| 115 | if self.is_nan() { |
no test coverage detected