Commit a2e71038 by Nicolás Venturo

Improved SafeMath inline comments.

parent c9e91586
...@@ -25,7 +25,7 @@ library SafeMath { ...@@ -25,7 +25,7 @@ library SafeMath {
} }
/** /**
* @dev Integer division of two numbers, truncating the quotient. * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
*/ */
function div(uint256 _a, uint256 _b) internal pure returns (uint256) { function div(uint256 _a, uint256 _b) internal pure returns (uint256) {
require(_b > 0); // Solidity only automatically asserts when dividing by 0 require(_b > 0); // Solidity only automatically asserts when dividing by 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment