lua-users home
lua-l archive

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


> On Fri, Jan 15, 2010 at 10:58 AM, Francesco Abbate <gslshell@gmail.com> wrote:
> > I have a question for Lua developers. There is in Lua 5.2 any support
> > for native complex numbers to be configured as an option at compile
> > time ?
> 
> Unfortunately, C99-style complex numbers are not ISO C.  And good luck
> trying to get Microsoft to implement C99 features ;)
> 
> For the casual user, lcomplex. For the hardcore user, LNUM.

Exactly. That said, it should be simple to add the required defines in luaconf.h
 
> Roberto's list:
> 
> http://lua-users.org/lists/lua-l/2010-01/msg00536.html

Also in lua-5.2.0-work2/doc/readme.html though
it lacks the API part (an oversight).