[Issue 17243] std.math.{FloatingPointControl, ieeeFlags} doesn't work on x86_64

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Mar 4 10:43:28 PST 2017


https://issues.dlang.org/show_bug.cgi?id=17243

ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|std.math.FloatingPointContr |std.math.{FloatingPointCont
                   |ol doesn't work on x86_64   |rol,ieeeFlags} doesn't work
                   |                            |on x86_64

--- Comment #2 from ag0aep6g at gmail.com ---
std.math.ieeeFlags is affected as well.

----
void main()
{
    import std.math;
    float x = 1;
    x /= 0;
    assert(ieeeFlags.divByZero); /* fails; should pass */
}
----

--


More information about the Digitalmars-d-bugs mailing list