[Issue 5757] std.math: exp, expm1, exp2 return 'inf' when no asm.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 20 16:37:28 PDT 2011


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


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

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


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2011-03-20 16:34:11 PDT ---
(In reply to comment #0)
> The fallback if D_InlineAsm is not a version predicate (true for non-x86
> arch's) is not calling the appropriate libm functions for the precision we
> require (need 80bit precision).

Tricky. On most systems (such as OSX), those functions either don't exist, or
just call the 64 bit versions. Even in cases when they do exist, they are
usually implemented incorrectly. Have you found 80-bit systems where they pass
all the unit tests?

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