Skip to content

Commit c724c33

Browse files
kshyattvchuravy
andcommitted
Update test/core/device/intrinsics/math.jl
Co-authored-by: Valentin Churavy <vchuravy@users.noreply.github.com>
1 parent 78d2b09 commit c724c33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/core/device/intrinsics/math.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ using SpecialFunctions
113113

114114
@testset "Float16 - $op" for op in (log,exp,exp2,exp10,log2,log10)
115115
all_float_16 = collect(reinterpret(Float16, pattern) for pattern in UInt16(0):UInt16(1):typemax(UInt16))
116+
all_float_16 = filter(!isnan, all_float_16)
116117
for each_float in all_float_16
117118
@test testf(x->op.(x), Float16[each_float])
118119
end

0 commit comments

Comments
 (0)