Newsgroups: comp.lang.tcl
From: "Ihug" <p...@fastbase.co.nz>
Date: Thu, 21 Jul 2005 08:13:16 +1200
Local: Wed, Jul 20 2005 4:13 pm
Subject: Re: float2IEEE numbers - 64 bit?
Thanks for your input. As you can see from my second post I modified the
existing 32bit output program I found on the wiki for 64 bits. I needed the output procedure because I am creating Excel binary files Of course, usually internal number storage and big/little endian should be Thanks again. > Ihug wrote:
>> I am trying to write IEEE 754 64 bit numbers. >> The following wiki page has a procedure "float2IEEE" that writes a 32 bit >> number. >> How would I modify this to output 64 bit? > Do you need hexadecimal? Binary? Simply to ensure that the > In particular, have you a need to support a machine whose native > From easiest to most difficult: > (1) If all you need is assurance that a number will be bit-for-bit > (2) If you need the number in binary because you're putting it > (3) If you need a specific endianity, > 8.5 makes this process somewhat easier, because the [binary] > I hope this has covered everything you need; feel free to > -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||