From a87c80b1fbaa826142605d0846479c94d6ee2bcc Mon Sep 17 00:00:00 2001
From: Tom Smeding <tom@tomsmeding.com>
Date: Thu, 13 Mar 2025 09:26:20 +0100
Subject: Add atan2

---
 src/Data/Array/Mixed/Internal/Arith.hs | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/Data/Array/Mixed/Internal/Arith.hs')

diff --git a/src/Data/Array/Mixed/Internal/Arith.hs b/src/Data/Array/Mixed/Internal/Arith.hs
index 11cbba6..c940914 100644
--- a/src/Data/Array/Mixed/Internal/Arith.hs
+++ b/src/Data/Array/Mixed/Internal/Arith.hs
@@ -860,6 +860,7 @@ class NumElt a => FloatElt a where
   floatEltExpm1 :: SNat n -> RS.Array n a -> RS.Array n a
   floatEltLog1pexp :: SNat n -> RS.Array n a -> RS.Array n a
   floatEltLog1mexp :: SNat n -> RS.Array n a -> RS.Array n a
+  floatEltAtan2 :: SNat n -> RS.Array n a -> RS.Array n a -> RS.Array n a
 
 instance FloatElt Float where
   floatEltDiv = divVectorFloat
@@ -885,6 +886,7 @@ instance FloatElt Float where
   floatEltExpm1 = expm1VectorFloat
   floatEltLog1pexp = log1pexpVectorFloat
   floatEltLog1mexp = log1mexpVectorFloat
+  floatEltAtan2 = atan2VectorFloat
 
 instance FloatElt Double where
   floatEltDiv = divVectorDouble
@@ -910,3 +912,4 @@ instance FloatElt Double where
   floatEltExpm1 = expm1VectorDouble
   floatEltLog1pexp = log1pexpVectorDouble
   floatEltLog1mexp = log1mexpVectorDouble
+  floatEltAtan2 = atan2VectorDouble
-- 
cgit v1.2.3-70-g09d2