Skip to content

Commit

Permalink
Fix comment on IsEven
Browse files Browse the repository at this point in the history
Looks like the comment on IsEven should read this way instead of "The assumption here is its numerator is 1 and we are testing the numerator is even or not"
  • Loading branch information
jsfuchs authored and HowardWolosky committed Mar 7, 2019
1 parent 6c0e4e8 commit 8fa9a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CalcManager/Ratpack/exp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ void log10rat( PRAT *px, int32_t precision)
}

//
// return if the given x is even number. The assumption here is its numerator is 1 and we are testing the numerator is
// return if the given x is even number. The assumption here is its denominator is 1 and we are testing the numerator is
// even or not
bool IsEven(PRAT x, uint32_t radix, int32_t precision)
{
Expand Down

0 comments on commit 8fa9a69

Please sign in to comment.