Possible std.math.exp() bug

Walter Bright newshound at digitalmars.com
Fri Apr 7 02:44:30 PDT 2006

Don Clugston wrote:
> Walter Bright wrote:
>> Don Clugston wrote:
>>> However, there *is* an accuracy issue in tgamma, which occurred when 
>>> it was translated from D back to C (!) for the DMC compiler.
>> I thought that was fixed? Can you redownload snn.lib?
> When it was first included, it had a major bug in lgamma and a minor 
> error in tgamma. The bug in lgamma() was fixed in the subsequent 
> release. Last time I checked, tgamma was faulty (although it's subtle -- 
> about the fifth digit is wrong).

I found the problem - forgot the 'L' suffix on the table entries.

More information about the Digitalmars-d-bugs mailing list