Channel: 💊今天份的微软药丸
Forwarded from HEMC Tech Tips (坐和放宽)
Forwarded from &'a ::rynco::UntitledChannel (NAVI)
Forwarded from The 2ndDim: That was I talking about!
Forwarded from 层叠 - The Cascading
特定 Windows 11 Insider 版本中存在 bug,导致部分编程语言计算 -1 的平方为 -1。
- 一位 osu! 贡献者向 dotnet 报告称,在 Windows 11 Build 27881.1000 版本中, 有用户报告 C# 的
- dotnet 维护者称这是上游 uCRT 库的 bug,在一周前被报告并修复;修复将在未来的 Insider 版本中发布。
gh:dotnet/runtime#117233
#MathPow #Windows
- 一位 osu! 贡献者向 dotnet 报告称,在 Windows 11 Build 27881.1000 版本中, 有用户报告 C# 的
Math.Pow(-1, 2)
结果为 -1(应为 1),而自己测试发现 C++ std::pow(-1, 2)
也为 -1。- dotnet 维护者称这是上游 uCRT 库的 bug,在一周前被报告并修复;修复将在未来的 Insider 版本中发布。
gh:dotnet/runtime#117233
#MathPow #Windows
GitHub
C# Math.Pow(-1, 2) doesn't output correct value on Windows 11 Insider Preview, Canary channel (27881.1000) · Issue #117233 · dotnet/runtime
Description The following is copied with extra bits from https://aka.ms/AAwwjwl (Feedback Hub) to raise awareness of this issue: Hello, I'm a contributor to osu! (https://github.com/ppy/osu). A...
HTML Embed Code: