[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 14-byte factorials
- From: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 8 May 2015 17:15:33 +0200
2015-05-08 14:02 GMT+02:00 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
>> alias lua='lua -l mathx -e "math=mathx" -i'
>
> I'm sure you know what you're doing but, for the record, doing "math=mathx"
> kills these functions because mathx deals exclusively with floats:
>
> maxinteger mininteger random randomseed tointeger
> type ult max min
Thanks for pointing that out. It's now
alias lua='lua -l mathx -e "math=setmetatable(mathx,{__index=math})" -i'