lua-users home
lua-l archive

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


> From: Luiz Henrique de Figueiredo [mailto:lhf@tecgraf.puc-rio.br] 
> (If someone knows a fast, small, portable function that 
> converts floating-point numbers to strings such that 

Have you looked at JPL-C? It's a portable C runtime, circa 1984, from
the Jet Propulsion Laboratory.

You should be able to get it from Simtel
(http://www.simtel.net/pub/pd/41696.html), or I can email it to you if
you'd like.

I haven't verified that it meets your requirements, but I don't see why
it wouldn't. Certainly it's easy enough to strip out what you need for
your purposes, and convert the K&R declarations to ANSI.

Regards,

Rick

--
Richard Vandenberg, President
Vandenberg Systems Inc