[Issue 9387] Compiler switch -O changes behavior of correct code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 28 01:01:47 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9387



--- Comment #8 from Don <clugdbug at yahoo.com.au> 2013-01-28 01:01:42 PST ---
BTW you might be interested in std.numeric.findRoot, which is the
root-finding-by-bracketing algorithm (in contrast to "Brent's algorithm" which
is minima-finding-by-bracketing). In terms of number of calls, I believe it
beats all published algorithms (in some cases, by an order of magnitude). I
should really publish it. I did some work on the minima problem as well, and
put it into Tango, but it isn't in Phobos.
The code is very old now, dating from a time where there were many compiler
limitations, and it could use a review.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list