From 6e1660912bd3fe8709f56b08ff2b16b5dbd0a554 Mon Sep 17 00:00:00 2001 From: gbaleeee <53768199+zhouxianyuan@users.noreply.github.com> Date: Fri, 8 Mar 2024 13:45:36 +0800 Subject: [PATCH] fix comment in function wad_exp Signed-off-by: gbaleeee <53768199+zhouxianyuan@users.noreply.github.com> --- src/snekmate/utils/Math.vy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snekmate/utils/Math.vy b/src/snekmate/utils/Math.vy index c9ea1f41..6a75faaa 100644 --- a/src/snekmate/utils/Math.vy +++ b/src/snekmate/utils/Math.vy @@ -431,7 +431,7 @@ def wad_exp(x: int256) -> int256: """ value: int256 = x - # If the result is `< 0.5`, we return zero. This happens when we have the following: + # If the result is `< 1`, we return zero. This happens when we have the following: # "x <= (log(1e-18) * 1e18) ~ -4.15e19". if (x <= -41_446_531_673_892_822_313): return empty(int256)