does chdk lua include the standard math lib? - LUA Scripting - CHDK Forum

does chdk lua include the standard math lib?

  • 2 Replies
  • 4286 Views
does chdk lua include the standard math lib?
« on: 27 / January / 2009, 23:21:15 »
Advertisements
does chdk lua include the standard math lib?

its not addressed in the wiki.

*

Offline reyalp

  • ******
  • 14128
Re: does chdk lua include the standard math lib?
« Reply #1 on: 28 / January / 2009, 01:51:27 »
Sort of: Lua numbers are normally floats, but CHDK lua uses 32 bit ints instead. The parts of the math library that make sense for ints are included.
Don't forget what the H stands for.

Re: does chdk lua include the standard math lib?
« Reply #2 on: 28 / January / 2009, 10:42:34 »
wiki updated

 

Related Topics


SimplePortal © 2008-2014, SimplePortal