Solidity doesn't have a min built-in function?
Since we are doing this in at least 2 places, it may be worth making a named function just for readability. Does Solidity do inline optimizations for pure private functions like this, so such a thing ends up being "free" gas wise?
Originally posted by @MicahZoltu in #2 (comment)