We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b24c5ca commit 6aab59bCopy full SHA for 6aab59b
test/float16.jl
@@ -205,6 +205,7 @@ const minsubf16_32 = Float32(minsubf16)
205
206
# issue #52394
207
@test Float16(10^8 // (10^9 + 1)) == convert(Float16, 10^8 // (10^9 + 1)) == Float16(0.1)
208
+@test Float16((typemax(UInt128)-0x01) // typemax(UInt128)) == Float16(1.0)
209
210
@testset "conversion to Float16 from" begin
211
for T in (Float32, Float64, BigFloat)
0 commit comments