You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
std.conv.to!double wrong in some cases on aarch64 #4433
The same result is obtained on Windows (tested with LDC v1.31), so if this is a bug, it's almost certainly in Phobos and related to 64-bit real (on AArch64, only for Apple).
Activity
JohanEngelen commentedon Jul 9, 2023
couldn't this be due to some rounding mode difference?
John-Colvin commentedon Jul 9, 2023
Well maybe... but something is definitely off, because
strtodgives the right answer (3fe3333333333333).kinke commentedon Jul 10, 2023
The same result is obtained on Windows (tested with LDC v1.31), so if this is a bug, it's almost certainly in Phobos and related to 64-bit
real(on AArch64, only for Apple).Use strtod rather than to!double in lexnumerix's tests.