Date: Thu, 1 Feb 1996 08:58:10 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Armin Herzer <herzer AT fbp DOT fh-weingarten DOT de>
Cc: djgpp AT delorie DOT com
Subject: Re: binary representation of floats


On Wed, 31 Jan 1996, Armin Herzer wrote:

> What I want to do is to get the binary representation of a float
> or double (the way these numbers are stored in memory). How can I obtain
> them? How do I modify them? Is there a documentation from which I can see

Every book on Intel CPUs describes this.  To get a bit pattern of any 
float or double variable, cast them to an unsigned int and use the usual 
bit operations.  (In the case of double, you'll have to use long long.)