From 3b563ba11ce64e85c41d8e48d82d0d395bd9b17b Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Sun, 2 May 2021 19:40:43 -0700 Subject: [PATCH] clarify explanatory comment --- src/f16.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/f16.rs b/src/f16.rs index 04e8fbd..5bf2e69 100644 --- a/src/f16.rs +++ b/src/f16.rs @@ -93,8 +93,8 @@ macro_rules! impl_int_to_f16 { impl ConvertTo for $int { fn to(self) -> F16 { // f32 has enough mantissa bits such that f16 overflows to - // infinity before f32 can't properly represent integer - // values, making the below conversion correct. + // infinity before f32 stops being able to properly + // represent integer values, making the below conversion correct. (self as f32).to() } } -- 2.30.2