Skip to content

Commit

Permalink
Debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Oct 6, 2023
1 parent 569dcc5 commit cbf693c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ end
@test BFloat16(2.0) ^ -2 == BFloat16(0.25)
end

@show BFloat16(1.234)
@show @eval BFloat16(1.234)
f() = BFloat16(1.234)
@show f()
@show BFloat16(1.234f0)
@show BFloat16(10)

@testset "printf" begin
for (fmt, val) in (("%7.2f", " 1.23"),
("%-7.2f", "1.23 "),
Expand Down

0 comments on commit cbf693c

Please sign in to comment.