diff --git a/src/lib.rs b/src/lib.rs index bbc1408..baa067f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1189,6 +1189,9 @@ impl NotNan { /// Converts this [`NotNan`]`<`[`f64`]`>` to a [`NotNan`]`<`[`f32`]`>` while giving up on /// precision, [using `roundTiesToEven` as rounding mode, yielding `Infinity` on /// overflow](https://doc.rust-lang.org/reference/expressions/operator-expr.html#semantics). + /// + /// Note: For the reverse conversion (from `NotNan` to `NotNan`), you can use + /// `.into()`. pub fn as_f32(self) -> NotNan { // This is not destroying invariants, as it is a pure rounding operation. The only two special // cases are where f32 would be overflowing, then the operation yields Infinity, or where