Re:A tale of two’s complement
by kibwen on Monday December 29, 2014 @02:43AM
(#8808875)
Some values that you wish to model don't have any logical upper bound. In this case the correct solution is to forgo fixed-size integers entirely and use an arbitrary-precision integer. If that is impractical for your given domain, then you need to select the largest fixed-size numeric type that is practical and resign yourself to some degree of potential incorrectness.
[ Parent
| on HN ]