Open stylewarning opened 5 years ago
what does this mean?
When we multiply two numbers (in base 10), we can verify the output using the "sum of digits test", which is nicely described here. We would want to add this to Hypergeometrica's multiplication routines, at least in hypergeometrica-safe
mode, so that big multiplications won't fail un-noticed.
ah, so this check would happen within the library code, not in a test.
That's correct. It would also be useful within the tests of course.
Implement sum-of-digits test for multiplication.