openresty / luajit2

OpenResty's Branch of LuaJIT 2
https://luajit.org/luajit.html
Other
1.2k stars 193 forks source link

Fix math.floor() and math.ceil() #177

Closed Bisht13 closed 1 year ago

Bisht13 commented 2 years ago

This fixes the issue of math.floor() and math.ceil() giving nan for +inf and -inf.

Issue fixed #176

zhuizhuhaomeng commented 2 years ago

@velemas would you please review this PR?