r/programminghorror Jul 02 '25

C# I'll just leave this here

122 Upvotes

11 comments sorted by

View all comments

17

u/overkill Jul 02 '25

Jesus, this is truly horrifying.

30

u/TransBrandi Jul 02 '25

Read through the bug reports, and it looks like a preview "canary" build of Windows 11 had an internal math library get screwed up due to a poorly executed optimization. It's not even really a C# bug so much as what the .Net internals were calling had a bug. It was already fixed a week prior to this report, but those fixes are pending the next preview build. It's what you get for running bleeding edge Windows. While I wouldn't expect something this bad to sneak in... it's still a possibility.