Hacker News new | ask | show | jobs
by SagelyGuru 2925 days ago
Clearly it is the difference between the two numbers plus one if both are to be included in the result and the difference minus one if both are excluded. That is because the conventional difference excludes the one being subtracted but includes the other one. Think of it as set difference.