Skip to content

Commit 5323612

Browse files
committed
Missing test for ComplexF16
1 parent f8bc7fe commit 5323612

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/float16.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ end
7676
@test Float16(0.5f0)^2 Float16(0.5f0^2)
7777
@test sin(f) sin(2f0)
7878
@test log10(Float16(100)) == Float16(2.0)
79+
@test sin(ComplexF16(f)) sin(complex(2f0))
7980

8081
# no domain error is thrown for negative values
8182
@test cbrt(Float16(-1.0)) == -1.0

0 commit comments

Comments
 (0)