Skip to content

Commit 35d9f98

Browse files
authored
Add atan2f (rust-lang#971)
1 parent fe550b5 commit 35d9f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enzyme/Enzyme/InstructionDerivatives.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def : CallPattern<(Op $x),
7676
>;
7777

7878
def : CallPattern<(Op $y, $x),
79-
["atan2"],
79+
["atan2", "atan2f", "atan2l"],
8080
[
8181
(FDiv (FMul (DiffeRet<"">), $x), (FAdd (FMul $x, $x), (FMul $y, $y))),
8282
(FNeg (FDiv (FMul (DiffeRet<"">), $y), (FAdd (FMul $x, $x), (FMul $y, $y))))

0 commit comments

Comments
 (0)