in reply to Re^5: Math::Base - arithmetics with baseX integers (OP updated)
in thread Math::Base - arithmetics with baseX integers (updated)
I just can't imagine that someone would want to get the result 1-2=18446744073709551615
That's exactly what I know you know, but aren't thinking through.
Just because the internal representation of -1 can be displayed as an unsigned 64-bit integer; it doesn't have to be.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Math::Base - arithmetics with baseX integers (OP updated)
by no_slogan (Deacon) on Aug 24, 2017 at 14:21 UTC |