From 43ad68c9f7aa84574aa46b446dc0d965ea4d61fc Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 12 Oct 2024 16:06:02 +0200 Subject: [PATCH] fix math.frexp & math.ldexp signature see https://www.lua.org/manual/5.2/manual.html#pdf-math.frexp & https://www.lua.org/manual/5.2/manual.html#pdf-math.ldexp --- tl.lua | 4 ++-- tl.tl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tl.lua b/tl.lua index 60ef07e86..f036d07e7 100644 --- a/tl.lua +++ b/tl.lua @@ -181,9 +181,9 @@ do fmod: function(integer, integer): integer fmod: function(number, number): number - frexp: function(number): number, number + frexp: function(number): number, integer huge: number - ldexp: function(number, number): number + ldexp: function(number, integer): number log: function(number, ? number): number log10: function(number): number diff --git a/tl.tl b/tl.tl index 32d6cf683..4d1aa2edf 100644 --- a/tl.tl +++ b/tl.tl @@ -181,9 +181,9 @@ do fmod: function(integer, integer): integer fmod: function(number, number): number - frexp: function(number): number, number + frexp: function(number): number, integer huge: number - ldexp: function(number, number): number + ldexp: function(number, integer): number log: function(number, ? number): number log10: function(number): number