lua-users home
lua-l archive

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


On Mon, 17 May 2010 18:40:00 -0700, Pan Shi Zhu <pan.shizhu@gmail.com> wrote:

Is this the official way to push the "inf" into stack?


Since "inf" itself is not official at the C level (it's a part of the IEEE floating-point standard, but that is not guaranteed to be the implementation for "float"), I think the answer would be that it's not, from a pedantic standpoint, but realistically, if your system is advanced enough to support libraries, it's probably going to work.