We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2de5428 commit d3b3b79Copy full SHA for d3b3b79
test/complex.jl
@@ -753,3 +753,6 @@ end
753
@test round([1:5] + im) == [1:5] + im
754
@test round([1:5] + 0.5im) == [1.0:5.0]
755
756
+# float #8291
757
+@test float(Complex(1, 2)) == Complex(1.0, 2.0)
758
+@test round(float(Complex(π, e)),3) == Complex(3.142, 2.718)
0 commit comments