From d8d889e6ef206025325763286cc5225141ff99ad 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 0ed51636..afae1e50 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 02392749..d0d6e262 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