lua-users home
lua-l archive

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

I've used the attached file (hope it gets through?).

Attachment: flt2str.c
Description: Binary data

Jose Marin kirjoitti 29.6.2006 kello 22.01:


I'm compiling Lua to use floats, altering the file
luser_number.h .

The macro lua_str2number uses strtod (returns a

I could cast to (float)strtod, but I'm worried abou

Is there some fast way of convert a string to a float?


Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz.