GNOME Bugzilla – Bug 700295
mathfuns -- increase accuracy requirement
Last modified: 2013-05-15 13:12:07 UTC
We should increase the accuracy requirement in statfuns.xls to something stronger -- maybe 10 correct digits. Just changing it causes us to fail SERIESSUM. Current Excel similarly fails SERIESSUM and MULTINOMIAL. We need to verify that we do those two functions right.
The only problem with multinomial is that the saved computed values are not integer. Current Excel correctly computes these values.
Fixed. 1e-13 relative error is the new level, except for tests involving integer functions where no error is allowed. Excel fails COMBIN and MULTINOMIAL, but one really has to jump through hoops to compare two numbers for equality in Excel. A=B won't do -- that tests for almost-equality. A-B=0 does work, at least as a part of a larger formula.