Using numbers as float
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Using numbers as float
- From: Jose Marin <jose_marin2@...>
- Date: 2006年6月29日 19:01:58 +0000 (GMT)
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/