[Issue 23538] Power operator does not work with floating point in -betterC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 4 22:00:25 UTC 2022


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

--- Comment #2 from Richard Cattermole <alphaglosined at gmail.com> ---
Unfortunately, run.dlang.io's run-all D compiler option appears to be broken,
so I can't test if the recent changes to dmd's inliner caused this to break and
hence be a regression.

But yeah I see three possibilities here:

1) Fix inlining
2) Template exp functions
3) Use libc pow instead

Of course, all these options are ignoring the forest. Why are there compiler
hooks implemented in Phobos?

--


More information about the Digitalmars-d-bugs mailing list