Unexplainable behaviour with direct struct assignment.
Dennis
dkorpel at gmail.com
Wed May 18 20:16:51 UTC 2022
On Wednesday, 18 May 2022 at 20:05:05 UTC, HuskyNator wrote:
> This will print:
> ```
> 0
> 50
> nan
> ```
Which compiler and flags are you using? For me it just prints 50,
you might be stumbling on some (old) bugs in the DMD backend with
floating point registers. Examples of such bugs are:
https://issues.dlang.org/show_bug.cgi?id=18573
https://issues.dlang.org/show_bug.cgi?id=22163
More information about the Digitalmars-d-learn
mailing list