delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/09/01:37:39

Message-ID: <B5E044AF4430D311B24D0060089CD8B101F017C3@hydmail01.hyd.wilco-int.com>
From: Prashant Ramachandra <rprash AT wilco-int DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: RE: Looking at the individual bits of a float.
Date: Thu, 9 Nov 2000 11:50:13 +0530
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp AT delorie DOT com

On Thursday, November 09, 2000 10:35 AM, Graham Reeds
[SMTP:grahamr AT dtn DOT ntl DOT com] wrote:
| I was wondering if anyone has any fast ways of looking at the
| individual
| bits and bytes of a float with or without (preferably) destroying
| the float
| in question.

char *fl = &whatever;
You can then read the individual bytes.

Prashant
--------------------------------------------------------------------------------
The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of, or taking of any 
action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. 
If you received this in error, please contact the sender and delete the materialfrom any computer.
--------------------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019