Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Commit f3fb6dd

Browse files
Fix typos.
[git filter-repo] original commit: rust-lang/rust@a62af85
1 parent 872deb4 commit f3fb6dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ieee.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ impl<S: Semantics> Float for IeeeFloat<S> {
895895
}
896896

897897
// The intermediate result of the multiplication has "2 * S::PRECISION"
898-
// signicant bit; adjust the addend to be consistent with mul result.
898+
// significant bit; adjust the addend to be consistent with mul result.
899899
let mut ext_addend_sig = [addend.sig[0], 0];
900900

901901
// Extend the addend significand to ext_precision - 1. This guarantees
@@ -920,7 +920,7 @@ impl<S: Semantics> Float for IeeeFloat<S> {
920920

921921
// Convert the result having "2 * S::PRECISION" significant-bits back to the one
922922
// having "S::PRECISION" significant-bits. First, move the radix point from
923-
// poision "2*S::PRECISION - 1" to "S::PRECISION - 1". The exponent need to be
923+
// position "2*S::PRECISION - 1" to "S::PRECISION - 1". The exponent need to be
924924
// adjusted by "2*S::PRECISION - 1" - "S::PRECISION - 1" = "S::PRECISION".
925925
self.exp -= S::PRECISION as ExpInt + 1;
926926

0 commit comments

Comments
 (0)