Ensure that IsPow2 for floating-point numbers correctly take subnormal values into...
authorTanner Gooding <tagoo@outlook.com>
Fri, 14 Jul 2023 00:28:00 +0000 (17:28 -0700)
committerGitHub <noreply@github.com>
Fri, 14 Jul 2023 00:28:00 +0000 (17:28 -0700)
commit8468f80ad4d8295b4d5d56445a6fe6e7cdf2b636
treedd8217bc3121f75c784f6e18b083a84a05fe4c04
parent5d6587a0eccb3434cb11aa23895b7370a6577921
Ensure that IsPow2 for floating-point numbers correctly take subnormal values into account (#88839)
src/libraries/System.Private.CoreLib/src/System/Double.cs
src/libraries/System.Private.CoreLib/src/System/Half.cs
src/libraries/System.Private.CoreLib/src/System/Single.cs
src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.UnitTests/System/Runtime/InteropServices/NFloatTests.GenericMath.cs
src/libraries/System.Runtime/tests/System/DoubleTests.GenericMath.cs
src/libraries/System.Runtime/tests/System/HalfTests.GenericMath.cs
src/libraries/System.Runtime/tests/System/SingleTests.GenericMath.cs