From f11af644d11c8c3104a13b5a0dce2683320234f4 Mon Sep 17 00:00:00 2001 From: imaqtkatt Date: Thu, 13 Jun 2024 13:48:34 -0300 Subject: [PATCH] Improve log and atan2 code comments --- src/fun/builtins.bend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fun/builtins.bend b/src/fun/builtins.bend index 4627e896..822eef05 100644 --- a/src/fun/builtins.bend +++ b/src/fun/builtins.bend @@ -111,7 +111,9 @@ defer_arg defered arg = @x (defered x arg) undefer defered = (defered @x x) # log :: f24 -> f24 -> f24 +# Computes the logarithm of `x` with the specified `base`. log x base = (| base x) # atan2 :: f24 -> f24 -> f24 # Has the same behaviour as `atan2f` in the C math lib. +# Computes the arctangent of the quotient of its two arguments. atan2 x y = (& x y)