Skip to content

Commit

Permalink
Minor simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
reunanen committed May 12, 2024
1 parent 6030698 commit 4245650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CPP/Clipper2Lib/include/clipper2/clipper.core.h
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ namespace Clipper2Lib
const uint64_t x3 = lo(a) * hi(b) + lo(x2);
const uint64_t x4 = hi(a) * hi(b) + hi(x2) + hi(x3);

return hi(x4) << 32 | lo(x4);
return x4;
}

// returns true if (and only if) a * b == c * d
Expand Down

0 comments on commit 4245650

Please sign in to comment.