https://gitlab.winehq.org/wine/wine/-/merge_requests/7748#note_105461
huge thanks to @bernhardu for narrowing it down. does this work for you?
-- v5: msvcrt: Use rint() from the bundled musl library. musl: Use __builtin_rint if available. musl: Reimplement rint so it doesn't depend on floating point operations precision.