🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42876

help for float and double conversion needed !

#42876
From: Heller
Date: Wed, 01 Nov 1995 00:00
22 lines
1307 bytes
Hi,

I develop C-Code on a m68k VMEbus board with GNU-C. In this context I got
a problem with the conversion of float and double variables. I need a 
function that converts the value of float and double variables
into a string like printf does with the format-instruction %f.

As there are no math and standard libraries shiped with the GNU compiler
I have to realize all functions on my own.
I would really appreciate if someone could give me a hint how to
solve my little problem.

Thanks in advance,

                Marcus

==========================================    ======    =====  
from  : M.Heller                      //     //        //   //
email : heller@ifr.ing.tu-bs.de      //     //===     //====
                                    //     //        //\\
Institute of Control Engineering   //     //        //  \\
TU Brunswick, Germany            --------------------------
Technical Details
Message-ID: <heller-0111951726170001@mac3.ifr.ing.tu-bs.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,15fa2c479b28aa30,start
X-Google-Attributes: gid11318c,public
From: heller@ifr.ing.tu-bs.de (Heller)
Subject: help for float and double conversion needed !
Date: 1995/11/01
Message-ID: <heller-0111951726170001@mac3.ifr.ing.tu-bs.de>
X-Deja-AN: 118397441
distribution: world
organization: IfR
newsgroups: gnu.gcc.help