mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 02:25:53 +00:00
Update mulDiv.cpp
This commit is contained in:
@@ -30,7 +30,7 @@ mulDiv(std::uint64_t value, std::uint64_t mul, std::uint64_t div)
|
|||||||
{
|
{
|
||||||
using namespace boost::multiprecision;
|
using namespace boost::multiprecision;
|
||||||
|
|
||||||
uint128_t result;
|
boost::multiprecision::uint128_t result;
|
||||||
result = multiply(result, value, mul);
|
result = multiply(result, value, mul);
|
||||||
|
|
||||||
result /= div;
|
result /= div;
|
||||||
|
|||||||
Reference in New Issue
Block a user