[Issue 3240] std.numeric.findRoot only works with real

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 10 04:40:19 PDT 2009


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au




--- Comment #2 from Don <clugdbug at yahoo.com.au>  2009-08-10 04:40:17 PDT ---
Good catch. That's caused by a change to the signature of ieeeMean(). Trivially
fixable by inserting casts, though arguably copySign should become a templated
function.

BTW I wrote this code for Tango, it will eventually have a signature change to
match the new Phobos style. It predates ranges, for example, even though it's a
perfect example of a floating-point range-based algorithm. Thus, it's not as
generic as it could be.

Don.

-- 
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