A critical bug in Windows 11 Insider Preview Canary build 27881.1000 causes Math.Pow(-1, 2) to incorrectly return -1 instead of 1 in both C# and C++. The issue affects the UCRT math library shipped with Windows, impacting applications like the osu! game. The bug appears to be at the Windows system level rather than in .NET runtime itself, requiring Microsoft to address it in the underlying C runtime library.

1m read timeFrom github.com
Post cover image
Table of contents
DescriptionReproduction StepsExpected behaviorActual behaviorRegression?Known WorkaroundsConfigurationOther information

Sort: