lua-users home
lua-l archive

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


On 20/06/2018 16:18, Axel Kittenberger wrote:
Sounds pretty much like a NaN whose typeof is not (a) 'number'. Except it allows NaN as payload. And I suppose missing == missing is true.

Just curious without wanting to install Julia, what does NaN + missing yield? missing I suppose?

I guess missing, because the general rule Float + Missing -> Missing (dispatching rule based on the types of the values) should apply regardless of the actual float value / before looking at the float value.


On Wed, Jun 20, 2018 at 2:51 PM, Dibyendu Majumdar <mobile@majumdar.org.uk> wrote:
I thought this might be of interest:


Regards