-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ITF1788 compliance #465
Comments
@lucaferranti Some comments your list:
|
I have recently created the package ITF1788.jl which translates ITL to julia tests, runs the tests and marks the failing ones as broken. This should make it easier to see what is missing. Here is a summary (except for reverse functions, I will open an issue for those in IntervalContractors.jl soonish).
fi_lib.itl
ieee1788-exceptions.itl
b-textToInterval "[+infinity]" = [empty] signal UndefinedOperation;
fixed in fix parser #522NaI
should return the empty interval, now it returns[NaN, NaN]
b-textToInterval "[1.0000000000000001, 1.0000000000000002]" = [1.0, 0x1.0000000000001p+0] signal PossiblyUndefinedOperation;
fixed in fix parser #522ieee1788-class.itl
..
#464ieee1788-elem
roundTiesToAway and roundTiesToEven missing, they are implemented, I just didn't notice those before.ieee1788-num
midRad [nai] [nai] = NaN NaN;
, I don't understand why midRad would take two intervals as input, indeed it does not for other tests in the same test block. edit: I think this is so obviously a typo in the ITL source code, that I dare marking this as done. I also opened an issue in the original repositoryieee1788-overlap
ieee1788-reduction :
sum, dot, sumSquare, sumAbs
sumSquare
andsumAbs
can be easily implemented in julia, e.g.sumSquare(x) = sum(x.^2)
. However the point of those functions is to have accurate summation, ITF has only trivial tests for thosedot_nearest {0x10000000000001p0, 0x1p104} {0x0fffffffffffffp0, -1.0} = -1.0;
. Using floating point arithmetic, the result is 0, using bigfloats the result is -1, could be solved using the Oishi-Rump-Ogita accurate dot product from AccurateArithmetic.jl.reverse functions
IntervalContractors.jl
package, since reverse functions are implemented there. Anyway, the standard requires those to be implemented in an interval arithmetic software, I guess this would be ok if we advertiseValidatedNumerics
as compliant software?The text was updated successfully, but these errors were encountered: