Skip to content

Commit ed81cb1

Browse files
committed
add test note
1 parent ea54f78 commit ed81cb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/concrete_accuracy.jl

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ end
5353
(Float32, Double32),
5454
(Float16, Double16),
5555
)
56-
sn = D(prevfloat(floatmin(F)) / 10)
56+
# NOTE: using prevfloat(floatmin(F)) doesn't expose `sqrt(D(sn))` returning a `NaN`
57+
sn = D(floatmin(F) / 10)
5758

5859
@test issubnormal(sn)
5960
@test sqrt(F(sn)) == F(sqrt(D(sn)))

0 commit comments

Comments
 (0)