[comp.sys.amiga.tech] FFP -> ASCII

33014-18@sjsumcs.sjsu.edu (Eduardo Horvath) (11/15/89)

	Does anyone have code that converts an FFP number to an ASCII string
like sprintf(buf,"%f",var); without requiring a 71 byte buffer to expand the
number in?  I want to do this without including all of the Lattice libraries
and Amiga.lib.  I will be implementing this in assembly (although I will
accept C code) and don't need any excess fluff.  I have found that lc.lib
does not support "%f" conversion, lcffp.lib requires lc.lib and amiga.lib,
and fpa in amiga.lib always returns E notation.

===============================================================================
         //x                                    =
        /// \	Try:  33014-18@sjsumcs.SJSU.EDU =	Early to bet
       ///   \                                  =	And early to raise
      ///     \		Eduardo Horvath		=	Makes a man poor
\\\  ///=======\ 				=	In a gambling craze!
 \\\///         \				=		-me
  \xxx           \miga. The computer for the corruptive mind.
===============================================================================