I disagree with the comment “Both Math.Pow and std::pow invokes the pow function in UCRT, which is shipped with Windows. The issue should be reported to MSVC instead” It’s not the job of a bug reporter to figure that out and to verify that nothing goes wrong in setting up stuff for invoking that function or in getting its output back into the C# world. That’s even more true because the dynamic nature of .NET code mak…
Math.Pow(-1, 2) == -1 in Windows 11 Insider build
31–40 of 142 posts
Re: Math.Pow(-1, 2) == -1 in Windows 11 Insider build
#32I disagree with the comment “Both Math.Pow and std::pow invokes the pow function in UCRT, which is shipped with Windows. The issue should be reported to MSVC instead” It’s not the job of a bug reporter to figure that out and to verify that nothing goes wrong in setting up stuff for invoking that function or in getting its output back into the C# world. That’s even more true because the dynamic nature of .NET code mak…
The comment isn't blaming the reporter for not doing that.
Re: Math.Pow(-1, 2) == -1 in Windows 11 Insider build
#33I disagree with the comment “Both Math.Pow and std::pow invokes the pow function in UCRT, which is shipped with Windows. The issue should be reported to MSVC instead” It’s not the job of a bug reporter to figure that out and to verify that nothing goes wrong in setting up stuff for invoking that function or in getting its output back into the C# world. That’s even more true because the dynamic nature of .NET code mak…
What do you disagree with, exactly? The bug is in an underlying library, so it should be reported to that library. That all seems correct to me, I don't see what there is to disagree with there. The problem with the comment is it does not make ownership of the next steps clear. The maintainer should've either taken the ball ("I will report this to...") or made it clear that the reporter should hold the ball ("We can'…
they didn't test that they just assumed that since they call a library function the library function must be the root-cause. This is classic bug-punting.
Re: Math.Pow(-1, 2) == -1 in Windows 11 Insider build
#34Re: Math.Pow(-1, 2) == -1 in Windows 11 Insider build
#35I disagree with the comment “Both Math.Pow and std::pow invokes the pow function in UCRT, which is shipped with Windows. The issue should be reported to MSVC instead” It’s not the job of a bug reporter to figure that out and to verify that nothing goes wrong in setting up stuff for invoking that function or in getting its output back into the C# world. That’s even more true because the dynamic nature of .NET code mak…
What do you disagree with, exactly? The bug is in an underlying library, so it should be reported to that library. That all seems correct to me, I don't see what there is to disagree with there. The problem with the comment is it does not make ownership of the next steps clear. The maintainer should've either taken the ball ("I will report this to...") or made it clear that the reporter should hold the ball ("We can'…
Bug reporter might not care that much and not bother opening another bug report, and this looks like a pretty bad bug.
Re: Math.Pow(-1, 2) == -1 in Windows 11 Insider build
#36I disagree with the comment “Both Math.Pow and std::pow invokes the pow function in UCRT, which is shipped with Windows. The issue should be reported to MSVC instead” It’s not the job of a bug reporter to figure that out and to verify that nothing goes wrong in setting up stuff for invoking that function or in getting its output back into the C# world. That’s even more true because the dynamic nature of .NET code mak…
What do you disagree with, exactly? The bug is in an underlying library, so it should be reported to that library. That all seems correct to me, I don't see what there is to disagree with there. The problem with the comment is it does not make ownership of the next steps clear. The maintainer should've either taken the ball ("I will report this to...") or made it clear that the reporter should hold the ball ("We can'…
Re: Math.Pow(-1, 2) == -1 in Windows 11 Insider build
#37How did this happen? This feels like the easiest function in the world to write a unit test for?
It's like the first example you see when you start learning about unit tests as a concept.
Re: Math.Pow(-1, 2) == -1 in Windows 11 Insider build
#38I disagree with the comment “Both Math.Pow and std::pow invokes the pow function in UCRT, which is shipped with Windows. The issue should be reported to MSVC instead” It’s not the job of a bug reporter to figure that out and to verify that nothing goes wrong in setting up stuff for invoking that function or in getting its output back into the C# world. That’s even more true because the dynamic nature of .NET code mak…
>It’s not the job of a bug reporter to figure that out The comment isn't blaming the reporter for not doing that.
Re: Math.Pow(-1, 2) == -1 in Windows 11 Insider build
#39Re: Math.Pow(-1, 2) == -1 in Windows 11 Insider build
#40How does the OS still function with a basic bug like this?