June 24, 2022
https://issues.dlang.org/show_bug.cgi?id=23210

          Issue ID: 23210
           Summary: [Function feqrel]
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/library/std/math/operations.html
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: phobos
          Assignee: nobody@puremagic.com
          Reporter: mvp@excelhero.com

All documentation sources suggest that:

feqrel(0x1.F8p+60, 0x1.F1p+60)

...is 5 bits.


But,

writeln(feqrel(0x1.F8p+60, 0x1.F1p+60));

...prints 6.


I tested this on https://run.dlang.io/

--