https://bugs.winehq.org/show_bug.cgi?id=40456
--- Comment #3 from Paul Gofman gofmanp@gmail.com --- Just for the record, I looked through every function in math.c for the same problem, fixed other two functions the same way and added some tests. All these patches are now upstream, so math functions should be probably fine in this sense by now.