Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzmaddock committed Jul 16, 2014
1 parent 2b86d27 commit 290c3da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/boost/multiprecision/cpp_bin_float.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,10 +472,10 @@ inline void do_eval_add(cpp_bin_float<Digits, DigitBase, Allocator, Exponent, Mi
res = b;
else
res = a;
return; // ault is still infinite.
return; // result is still infinite.
case cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinE, MaxE>::exponent_nan:
res = a;
return; // ault is still a NaN.
return; // result is still a NaN.
}
switch(b.exponent())
{
Expand All @@ -486,10 +486,10 @@ inline void do_eval_add(cpp_bin_float<Digits, DigitBase, Allocator, Exponent, Mi
res = b;
if(res.sign())
res.negate();
return; // ault is infinite.
return; // result is infinite.
case cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinE, MaxE>::exponent_nan:
res = b;
return; // ault is a NaN.
return; // result is a NaN.
}

typename cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinE, MaxE>::exponent_type e_diff = a.exponent() - b.exponent();
Expand Down

0 comments on commit 290c3da

Please sign in to comment.