Skip to content

Commit

Permalink
Make udivrem_knuth() inline
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Jun 17, 2020
1 parent b0faa72 commit d8210d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/intx/div.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ inline uint64_t submul(
return borrow;
}

void udivrem_knuth(uint64_t q[], uint64_t u[], int ulen, const uint64_t d[], int dlen) noexcept
inline void udivrem_knuth(
uint64_t q[], uint64_t u[], int ulen, const uint64_t d[], int dlen) noexcept
{
INTX_REQUIRE(dlen >= 3);
INTX_REQUIRE(ulen >= dlen);
Expand Down

0 comments on commit d8210d3

Please sign in to comment.