25 lines
731 B
ReStructuredText
25 lines
731 B
ReStructuredText
Math
|
|
=============================================
|
|
|
|
Provides assorted low-level math operations.
|
|
|
|
max64(uint64 a, uint64 b) internal constant returns (uint64)
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
Returns the largest of two uint64 numbers.
|
|
|
|
min64(uint64 a, uint64 b) internal constant returns (uint64)
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
Returns the smallest of two uint64 numbers.
|
|
|
|
max64(uint256 a, uint256 b) internal constant returns (uint256)
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
Returns the largest of two uint256 numbers.
|
|
|
|
min64(uint256 a, uint256 b) internal constant returns (uint256)
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
Returns the smallest of two uint256 numbers.
|