L’appel à Math.Pow(-1, 2) retourne -1 au lieu de 1 sous Windows 11 Insider Preview Canal Canary (27881.1000).
Le même comportement est constaté avec std::pow(-1, 2) en C++.
En Python, la fonction pow(-1, 2) retourne correctement 1.
Configuration reproduite : .NET SDK 8.0.411 sur Windows 11 Insider Preview Canal Canary (27881.1000).
Get notified when new stories are published for "🇫🇷 Hacker News Français"