projects
/
vector-math.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77cfb7e
)
clarify explanatory comment
author
Jacob Lifshay
<programmerjake@gmail.com>
Mon, 3 May 2021 02:40:43 +0000
(19:40 -0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Mon, 3 May 2021 02:40:43 +0000
(19:40 -0700)
src/f16.rs
patch
|
blob
|
history
diff --git
a/src/f16.rs
b/src/f16.rs
index 04e8fbde11a871c0327ebf98dc518b199141f398..5bf2e69c213a401a12faf75b6dc8953a8cad9229 100644
(file)
--- a/
src/f16.rs
+++ b/
src/f16.rs
@@
-93,8
+93,8
@@
macro_rules! impl_int_to_f16 {
impl ConvertTo<F16> 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()
}
}