lua-users home
lua-l archive

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

On Mon, Jun 21, 2010 at 4:53 PM, Jonathan Castello <> wrote:
> That's simply the average of two numbers, trivially implemented as
> math.abs(x+y)/2.
> ~Jonathan

Sorry, the abs() was left over from some other experimentation I did.
I really meant (x+y)/2... I should really proofread more.