Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!pyrnj!hhb!istvan From: istvan@hhb.UUCP (Istvan Mohos) Newsgroups: comp.sources.wanted Subject: _doprint-less ftoa Keywords: Sisyphus Message-ID: <299@hhb.UUCP> Date: 29 Dec 89 14:42:52 GMT Organization: HHB Systems, Mawah, NJ Lines: 14 In the absence of elegant solutions to the _doprint-less ftoa problem posed by Marcus J. Ranum, I posted a highly tedious one to alt.sources; converting the float into two ulongs (one for the whole-number part and one for the fraction), and breaking each one down to decimal digits. As Simon & Garfunkel once said about floating point precision: "...any way you look at it, you loose." -- Istvan Mohos ...uunet!pyrdc!pyrnj!hhb!istvan HHB Systems 1000 Wyckoff Ave. Mahwah NJ 07430 201-848-8000 ====================================================================