Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Printf fixes around handling of -0.0 (negative zero) #18147

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Fix sign handling to not be a breaking change with respect to sprintf…

9c035f3
Select commit
Loading
Failed to load commit list.
Open

Printf fixes around handling of -0.0 (negative zero) #18147

Fix sign handling to not be a breaking change with respect to sprintf…
9c035f3
Select commit
Loading
Failed to load commit list.
Azure Pipelines / fsharp-ci failed Dec 16, 2024 in 1h 12m 16s

Build #20241216.20 had test failures

Details

Tests

  • Failed: 4 (0.01%)
  • Passed: 71,934 (97.69%)
  • Other: 1,698 (2.31%)
  • Total: 73,636

Annotations

Check failure on line 33 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

Build log #L33

PowerShell exited with code '1'.

Check failure on line 33 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

Build log #L33

PowerShell exited with code '1'.

Check failure on line 3874 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

Build log #L3874

(NETCORE_ENGINEERING_TELEMETRY=Test) Error running tests (exit code '1').

Check failure on line 3876 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

Build log #L3876

Bash exited with code '1'.

Check failure on line 1 in FSharp.Core.UnitTests.PrintfTests.sign flag - very small positive and negative numbers

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

FSharp.Core.UnitTests.PrintfTests.sign flag - very small positive and negative numbers

System.Exception : Assertion: Expected 0.000000 but got -0.000000
Raw output
   at FSharp.Core.UnitTests.PrintfTests.test[a,b](PrintfFormat`4 fmt, a arg, String expected) in /Users/runner/work/1/s/tests/FSharp.Core.UnitTests/FSharp.Core/Microsoft.FSharp.Core/PrintfTests.fs:line 37
   at FSharp.Core.UnitTests.PrintfTests.sign flag - very small positive and negative numbers() in /Users/runner/work/1/s/tests/FSharp.Core.UnitTests/FSharp.Core/Microsoft.FSharp.Core/PrintfTests.fs:line 115
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in FSharp.Core.UnitTests.PrintfTests.sign flag - very small positive and negative numbers

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

FSharp.Core.UnitTests.PrintfTests.sign flag - very small positive and negative numbers

System.Exception : Assertion: Expected 0.000000 but got -0.000000
Raw output
   at FSharp.Core.UnitTests.PrintfTests.test[a,b](PrintfFormat`4 fmt, a arg, String expected) in /home/vsts/work/1/s/tests/FSharp.Core.UnitTests/FSharp.Core/Microsoft.FSharp.Core/PrintfTests.fs:line 37
   at FSharp.Core.UnitTests.PrintfTests.sign flag - very small positive and negative numbers() in /home/vsts/work/1/s/tests/FSharp.Core.UnitTests/FSharp.Core/Microsoft.FSharp.Core/PrintfTests.fs:line 115
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in FSharp.Core.UnitTests.PrintfTests.sign flag - very small positive and negative numbers

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

FSharp.Core.UnitTests.PrintfTests.sign flag - very small positive and negative numbers

System.Exception : Assertion: Expected 0.000000 but got -0.000000
Raw output
   at FSharp.Core.UnitTests.PrintfTests.test[a,b](PrintfFormat`4 fmt, a arg, String expected) in D:\a\_work\1\s\tests\FSharp.Core.UnitTests\FSharp.Core\Microsoft.FSharp.Core\PrintfTests.fs:line 37
   at FSharp.Core.UnitTests.PrintfTests.sign flag - very small positive and negative numbers() in D:\a\_work\1\s\tests\FSharp.Core.UnitTests\FSharp.Core\Microsoft.FSharp.Core\PrintfTests.fs:line 115
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in FSharp.Core.UnitTests.PrintfTests.sign flag - very small positive and negative numbers

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

FSharp.Core.UnitTests.PrintfTests.sign flag - very small positive and negative numbers

System.Exception : Assertion: Expected 0.000000 but got -0.000000
Raw output
   at FSharp.Core.UnitTests.PrintfTests.test[a,b](PrintfFormat`4 fmt, a arg, String expected) in D:\a\_work\1\s\tests\FSharp.Core.UnitTests\FSharp.Core\Microsoft.FSharp.Core\PrintfTests.fs:line 37
   at FSharp.Core.UnitTests.PrintfTests.sign flag - very small positive and negative numbers() in D:\a\_work\1\s\tests\FSharp.Core.UnitTests\FSharp.Core\Microsoft.FSharp.Core\PrintfTests.fs:line 115
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)