lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Apr 24, 2014 at 1:15 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> if x==1/0 then    -- x is inf
>
> if x==-1/0 then   -- x is -inf


Why not
x == math.huge
and
x == -math.huge ?

-- 
NI!

() - www.asciiribbon.org
/\ - ascii ribbon campaign against html e-mail and proprietary attachments