Skip to content

Commit 79f5197

Browse files
committed
fsghrgs
1 parent 70329c2 commit 79f5197

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/device/intrinsics/math.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ import Core: Float32, Float16
1313
# macro _const_convert(irr,T,r)
1414
# :($T($irr, $r))
1515
# end
16-
for T in (:Float32, :Float16), irr in (, :ℯ), r in (:RoundUp, :RoundDown)
17-
# newT = Symbol(:new,T)
18-
@eval begin
19-
# $newT(::typeof($irr), ::typeof($r)) = @_const_convert($irr, $T, $r)
20-
# @device_override $T(::typeof($irr), ::typeof($r)) = @_const_convert($irr, $T, $r)
21-
@device_override $T(::typeof($irr), ::typeof($r)) = Base.Rounding._convert_rounding($T, $irr, $r)
22-
end
23-
end
16+
# for T in (:Float32, :Float16), irr in (:π, :ℯ), r in (:RoundUp, :RoundDown)
17+
# # newT = Symbol(:new,T)
18+
# @eval begin
19+
# # $newT(::typeof($irr), ::typeof($r)) = @_const_convert($irr, $T, $r)
20+
# # @device_override $T(::typeof($irr), ::typeof($r)) = @_const_convert($irr, $T, $r)
21+
# @device_override $T(::typeof($irr), ::typeof($r)) = Base.Rounding._convert_rounding($T, $irr, $r)
22+
# end
23+
# end
2424

2525
for T in (:Float32, :Float16), irr in (, :ℯ), r in (:RoundUp, :RoundDown)
2626
@eval begin

0 commit comments

Comments
 (0)