Skip to content

Commit

Permalink
Fix #17148
Browse files Browse the repository at this point in the history
fixes #17148
  • Loading branch information
pkofod authored Jun 27, 2016
1 parent 861100c commit d513a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/float16.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ end

for func in (:div,:fld,:cld,:rem,:mod,:atan2,:hypot)
@eval begin
$func(a::Float16,b::Float16) = Float16($func(Float32(a),Float32(a)))
$func(a::Float16,b::Float16) = Float16($func(Float32(a),Float32(b)))
end
end

Expand Down

0 comments on commit d513a3c

Please sign in to comment.