← Back to context

Comment by eru

4 hours ago

> You could never even consider all of the possible combinations and interactions, let alone test them.

Nobody has ever tested all possible inputs to 64 bit multiplication either. You can sample from the space.

Eh that sounds a bit different to me, multiplication should be roughly the same operator on each test, these are wildly different functions.

  • You forgot about NaNs (all of them), infinities and positive/negative zeros. Tests warranted.