Open Quma78 opened 4 months ago
Hey @Quma78!
I just tested your code an I can confirm the bug. Thanks for finding this! I'll try to come up with a fix. 🙈
Hardware version: 1.9.4
Btw, you should really update your version of the core. :wink: There were lots of improvements (and FPU bug fixes) since this version (see changelog).
Describe the bug Hello, When I replaying the floating_point_test, I came across an error on converting a float to a signed integer. It seems that the rounding of values exceeding 32 bits with the mantissa at zero is not good. To be sure, here's the code I used:
To Reproduce
Expected behavior The rounding should be 0x80000000 but it is just 0.
Screenshots
Environment:
Hardware:
Thank you for your help!