lua-users home
lua-l archive

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


Hi.

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

The macro lua_str2number uses strtod (returns a
double).

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

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

Thanks!




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