Relax compile-time assertion in gammafunction to runtime#3309
Relax compile-time assertion in gammafunction to runtime#3309ibuclaw merged 1 commit intodlang:masterfrom
Conversation
|
Please add this description to the code. |
|
Shouldn't be needed as I'm going to propose yanking out uses of yl2x. |
|
This isn't really a fix. |
And breaking phobos builds is not a solution. |
|
Ping, Phobos is still broken. |
|
Please, add |
|
Please give me a description to fill in, because I don't think I can hold myself back from writing something detrimental about dmd. |
|
=) // FIXME: should be returned back to enum.
// Fix requires CTFEable `log` on non-x86 targets (check both LDC and GDC).
immutable maxY = logmdigamma(real.min_normal); |
|
Though FYI, you should probably go the way of |
|
See #3011. |
|
@9il ping |
|
LGTM |
|
I'll merge this in 24 hours unless someone responds in the meantime (as @9il has given his approving 👍 and it's his code I'm changing) |
|
Auto-merge toggled on |
Relax compile-time assertion in gammafunction to runtime
Should fix builds on non-x86 targets, where the pretty lame
yl2xintrinsic is not available at compile-time.