Skip to content

Commit

Permalink
Update test/float16.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Dec 13, 2023
1 parent 28aeabc commit 4270c36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/float16.jl
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ const minsubf16_32 = Float32(minsubf16)
# issue #52394
@test Float16(10^8 // (10^9 + 1)) == convert(Float16, 10^8 // (10^9 + 1)) == Float16(0.1)
@test Float16((typemax(UInt128)-0x01) // typemax(UInt128)) == Float16(1.0)
@test Float32((typemax(UInt128)-0x01) // typemax(UInt128)) == Float32(1.0)

@testset "conversion to Float16 from" begin
for T in (Float32, Float64, BigFloat)
Expand Down

0 comments on commit 4270c36

Please sign in to comment.