lua-users home
lua-l archive

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


Mmm, go away your computer for a week, and get more than 130 messages just
for the Lua mailing list to read... I am happy to see this list so active :-)

> (If someone knows a fast, small, portable function that converts
floating-point
> numbers to strings such that converting the string back to a number gives
the
> *same* number, please let me know. I know about the ones by David Gay in
netlib,
> but they're too complicated.)
> --lhf

I suppose you mean converting FP number to human readable strings, as others
seems to think. As Benjohn stated, a simple conversion of hashing purpose is
very simple, so I doubt that's what you meant.

You may want to take a look at the trio library
<http://daniel.haxx.se/trio/>. I haven't really tried it, but I keep the link just in case :-) The
licence is MIT like, so compatible with your, I think. I don't know if the reverse
conversion is accurate.

Regards.

-- 
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--

GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net