Skip to content

Commit fc1ad57

Browse files
committed
add a comment line
1 parent 312ef7e commit fc1ad57

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

include/ginkgo/core/base/half.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,9 @@ class alignas(std::uint16_t) half {
430430
return conv::shift_sign(data_);
431431
}
432432

433+
// all significant (including implicitly leading 1) will be
434+
// moved after representation field more than one digit (less
435+
// than half) such that it will rounding to zero.
433436
const auto explicit_significand =
434437
(data_ & f32_traits::significand_mask) |
435438
(1 << f32_traits::significand_bits);

0 commit comments

Comments
 (0)