Algorithm/Code Wanted to Convert Float to String

schneier@cbnewsb.cb.att.com (bruce.schneier)
Mon, 17 Feb 1992 17:03:57 GMT

          From comp.compilers

Related articles
Algorithm/Code Wanted to Convert Float to String schneier@cbnewsb.cb.att.com (1992-02-17)
| List of all articles for this month |
Newsgroups: comp.compilers,comp.lang.c,comp.lang.pascal,comp.sources.wanted
From: schneier@cbnewsb.cb.att.com (bruce.schneier)
Keywords: C, Pascal, question, arithmetic
Organization: AT&T Bell Laboratories
Date: Mon, 17 Feb 1992 17:03:57 GMT

I am interested in a fast algorithm (source code in either Pascal or C
would be nice, but not essential) that would take a floating point number
(base 2) and convert it to a string (base 10). I can think of some ways
to do this, but I am interested if there are any post-Knuth tricks out
there. Please respond directly


Thanks,
Bruce
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.