We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5080788 commit 9c33b01Copy full SHA for 9c33b01
test/fmtspec.jl
@@ -407,18 +407,24 @@ end
407
408
@test pyfmt("f", NaN) == "NaN"
409
@test pyfmt("e", NaN) == "NaN"
410
+ @test pyfmt("g", NaN) == "NaN"
411
@test pyfmt("f", NaN32) == "NaN"
412
@test pyfmt("e", NaN32) == "NaN"
413
+ @test pyfmt("g", NaN32) == "NaN"
414
415
@test pyfmt("f", Inf) == "Inf"
416
@test pyfmt("e", Inf) == "Inf"
417
+ @test pyfmt("g", Inf) == "Inf"
418
@test pyfmt("f", Inf32) == "Inf"
419
@test pyfmt("e", Inf32) == "Inf"
420
+ @test pyfmt("g", Inf32) == "Inf"
421
422
@test pyfmt("f", -Inf) == "-Inf"
423
@test pyfmt("e", -Inf) == "-Inf"
424
+ @test pyfmt("g", -Inf) == "-Inf"
425
@test pyfmt("f", -Inf32) == "-Inf"
426
@test pyfmt("e", -Inf32) == "-Inf"
427
+ @test pyfmt("g", -Inf32) == "-Inf"
428
429
@test pyfmt("<5f", Inf) == "Inf "
430
@test pyfmt("^5f", Inf) == " Inf "
0 commit comments