[Issue 24106] New: core.stdc.math provides an implementation of modfl for uClibc that only works when real and double are the same size

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 24 04:51:04 UTC 2023


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

          Issue ID: 24106
           Summary: core.stdc.math provides an implementation of modfl for
                    uClibc that only works when real and double are the
                    same size
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: n8sh.secondary at hotmail.com

https://github.com/dlang/dmd/blob/df2606c3c544e818dde32593ce2e7850f77cd0e7/druntime/src/core/stdc/math.d#L4132

---
extern(D) pure real modfl(real value, real *iptr)
{
    return modf(cast(double) value, cast(double*) iptr);
}
---

--


More information about the Digitalmars-d-bugs mailing list