function div(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a / b;
return c;
}
When I call the function above as library in my solidity code 107752139522000.div(1099511627776)
I receive 97
, when the actual result is 98
Here is an example of the same problem in eth fiddle (deploy and call the function div): https://ethfiddle.com/EL2MbHI8h_