Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Deprecate atan2 #443

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/device/cuda/math.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
@inline atan(x::Float64) = @wrap __nv_atan(x::double)::double
@inline atan(x::Float32) = @wrap __nv_atanf(x::float)::float

@inline atan2(x::Float64, y::Float64) = @wrap __nv_atan2(x::double, y::double)::double
@inline atan2(x::Float32, y::Float32) = @wrap __nv_atan2f(x::float, y::float)::float
@inline atan(x::Float64, y::Float64) = @wrap __nv_atan2(x::double, y::double)::double
@inline atan(x::Float32, y::Float32) = @wrap __nv_atan2f(x::float, y::float)::float


## hyperbolic
Expand Down