lua-users home
lua-l archive

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


> BTW, I'd love to know which architectures this comment further
> down in luaconf.h is referring to:
> 
> /* on several machines, coercion from unsigned to double is too slow,
>    so avoid that if possible */

As far as I know, Pentium does not have an istruction for such
conversion. So, it zero-extends the unsigned int to a 64-bit integer
and reads it with 'fildll'. (Maybe that is not "too slow", but some
tests suggested the conditional was faster.)

-- Roberto