Demotes the precision state from exact to inexact (if present).
(self)
| 130 | |
| 131 | /// Demotes the precision state from exact to inexact (if present). |
| 132 | pub fn to_inexact(self) -> Self { |
| 133 | match self { |
| 134 | Precision::Exact(value) => Precision::Inexact(value), |
| 135 | _ => self, |
| 136 | } |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | impl Precision<usize> { |