in reply to Modulus Inconsistencies (Or Calling all Mathematicians)

has anyone considered yet that it may be valid to perform -7%4 as -(7%4)..so -3 is valid. Generally, computer implementations for math other than binary are weak when they use floating point math. It's always a matter of how close is good enough...ask a scientist. Chris
  • Comment on Re: Modulus Inconsistencies (Or Calling all Mathematicians)