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
Precise fsum #2513
Precise fsum #2513
Conversation
std.internal.math.summation: tabs std.algorithm: sum (Kahan and Pairswise) update *.mak update std.interanl.math.summation update std.numeric: added fsum std.interanl.math.summation update std.interanl.math.summation update std.interanl.math.summation update std.interanl.math.summation add local fabs std.interanl.math.summation Docs update minor update tabs minor ddoc update minor ddoc update remove reverse summation Full redesign std.internal.math.summation: privacy changes std.internal.math.summation: privacy changes fabs update opertor overlaoding for Summator opertor overlaoding for Summator update opertor overlaoding unittest added update Summator remove blank lines update Summator unittests add unittest for Complex std.internal.scopebuffer: added inout for slices update unittest removed no-op cast add opAssign and const for operators remove reset (use = 0) added extendTo template update fsum for Complex remove static if for __ctfe fsum update minor add CTFEable param added = void minor update update location of Summator _ update summation.d
ping |
May I convince some of the dmd core team to take a look at https://issues.dlang.org/show_bug.cgi?id=13485, https://issues.dlang.org/show_bug.cgi?id=13474, and https://issues.dlang.org/show_bug.cgi?id=13469 Perhaps aim the fixes for 2.067? |
I can probably have a look at the optimizer bugs when I'm done with va_copy. Do we have any sort of timeline on 2.067? |
Let's aim for Sunday March 1st, which means we need to have a prerelease by Sun Feb 15. |
This needs rebasing. |
Whoohooo! I am starting to rewrite this code now! Thanks! |
Conflicts: win32.mak
Issue 13485 fixed (Thanks to @yebblies). |
Would doing all the internal calculations explicitly with |
Yes, for real it works well. |
There are will be some minimal precision loss for |
Reopened in #2991. |
Blocked
Issues [DMD]
[ICE] https://issues.dlang.org/show_bug.cgi?id=14158(workaround)https://issues.dlang.org/show_bug.cgi?id=13485(fixed)https://issues.dlang.org/show_bug.cgi?id=13474(workaround)Note issue 13469 while testing:
https://issues.dlang.org/show_bug.cgi?id=13469 (workaround)
Example 0:
Example 1:
Example 2: