[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: math.min, math.max
- From: Thomas Jericke <tjericke@...>
- Date: Wed, 09 Apr 2014 16:49:16 +0200
On 04/09/2014 12:27 PM, Dirk Laurie wrote:
But the only value of x for which always y = max(x,y) is x=-math.huge.
At present you don't get nil, you get an error.
The only _numeric_ value. But if you define max(nil, y) to be y and
min(nil, y) to be y as well you would have another value that would work
for both functions.
--
Thomas