From: Jacob Lifshay Date: Mon, 3 May 2021 02:40:43 +0000 (-0700) Subject: clarify explanatory comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b563ba11ce64e85c41d8e48d82d0d395bd9b17b;p=vector-math.git clarify explanatory comment --- 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() } }