Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!ox.com!math.fu-berlin.de!uniol!sol.north.de!skuld!core!peic From: peic@core.north.de (Peter Eichler) Newsgroups: comp.sys.amiga.programmer Subject: Re: ffp numbers Message-ID: <193023b4.ARN00a9@core.north.de> Date: 23 May 91 21:47:48 GMT References: <1991May21.848.3222@canrem.uucp> Reply-To: peic@core.north.de (Peter Eichler) Followup-To: comp.sys.amiga.programmer Distribution: comp Organization: Private UUCP-Site Lines: 30 In article <1991May21.848.3222@canrem.uucp>, luciano bertato writes: >I want to program a function in assembler which takes a double >(64-bits) floating point number and convert it to an ascii string. >In the ROM kernal manual it only explains the 32-bit single >precision FFP number format, with bit 1-6 as the exponent, >bit 7 the sign, and bit 8-31 as the mantissa. >Now what is the format for the double precision FFP number which >is used in the 'C' functions?? >-- >Canada Remote Systems. Toronto, Ontario >NorthAmeriNet Host There is no *double* FFP format (double won't be fast anymore). The alternative is to use either IEEE single or double precision FP format. Has anyone out there any idea how the format looks like? The other way would be to use really the C function from assembler, since most assembler produce same object-code as C compilers. Cheerio, Peter Q:What's the problem of being drunk? A:Ask a glass of water. (Hitchhiker) ------------------------------------------------------------------------------ Peter Eichler VOICE: (+)49 421 530642 SYSTEM : Amiga 3000,6MB RAM Hegelstrasse 3 EMAIL: peic@core.north.de CPU : 68030/68882, 25MHz 2800 Bremen, Germany EMAIL: peic@skuld.north.de HARDDISK: 105MB Quantum,19ms