lua-users home
lua-l archive

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


> I think that native support for complex numbers would be a *great*
> plus for numerical calculations. I think also that complex numbers
> should be supported, if possible, as a native type just like Asko's
> LNUM patch is doing. Also, I'm not sure that you need a struct to
> represent complex number, in C99 they are a native type just like
> 'int' or 'double'

My lcomplex library exports C99 complex numbers to Lua:
	http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lcomplex