>>>>> "Ranier" == Ranier Vilela <ranier.vf@gmail.com> writes:
Ranier> Sorry, my mistake.
Ranier> uvalue = (uint64) 0 - value;
This doesn't gain anything over the original, and it has the downside of
hiding an int64 to uint64 conversion that is actually quite sensitive.
For example, it might tempt someone to rewrite it as
uvalue = -value;
which is actually incorrect (though our -fwrapv will hide the error).
--
Andrew (irc:RhodiumToad)