lua-users home
lua-l archive

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


Is this so?

I would expect the minimum or maximum element of the argument list to be returned as result.
With an empty list, I would not be confused to get nil.

-- Oliver

math.min over an empty list
is math.huge, math.max over an empty list is -math.huge.