@fabriek it feels almost like one of those assembler optimisations but for people

(Division is slow so invert and multiply):(Subtraction is slow so invert and add)

Follow

subtraction by radix complement 

@derwinmcgeary @fabriek That's because this is the decimal version of how subtraction is commonly done in hardware. For binary, replace 9 with 1 and 10 with 2 (two's complement). More info: en.wikipedia.org/wiki/Method_o

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.