From 334c004f1ec80f8cd58d82a715459f5bb2400d64 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Mon, 19 Dec 2022 13:00:27 +0100 Subject: [PATCH] Fix of atan2 --- lib/std/math.c3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/math.c3 b/lib/std/math.c3 index 3b5803636..ebbed32ba 100644 --- a/lib/std/math.c3 +++ b/lib/std/math.c3 @@ -100,7 +100,7 @@ $if (env::COMPILER_LIBC_AVAILABLE): extern fn double _atan(double x) @extname("atan"); extern fn float _atanf(float x) @extname("atanf"); extern fn double _atan2(double x) @extname("atan2"); -extern fn float _atanf2(float x) @extname("atanf2"); +extern fn float _atan2f(float x) @extname("atan2f"); macro atan(x) {