Skip to content

Commit c34a75d

Browse files
committed
Update test/float16.jl
1 parent ce4b622 commit c34a75d

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
@@ -206,6 +206,7 @@ const minsubf16_32 = Float32(minsubf16)
206206
# issue #52394
207207
@test Float16(10^8 // (10^9 + 1)) == convert(Float16, 10^8 // (10^9 + 1)) == Float16(0.1)
208208
@test Float16((typemax(UInt128)-0x01) // typemax(UInt128)) == Float16(1.0)
209+
@test Float32((typemax(UInt128)-0x01) // typemax(UInt128)) == Float32(1.0)
209210

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

0 commit comments

Comments
 (0)