lua-users home
lua-l archive

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


> $ lua
> Lua 5.4.2  Copyright (C) 1994-2020 Lua.org, PUC-Rio
> > nan = 0/0
> > t = {nan, nan, 20, 10}
> > table.sort(t)
> > print(table.concat(t, ", "))
> -nan, 20, -nan, 10

Thanks for the report.

-- Roberto