From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17018 invoked by alias); 28 Nov 2004 05:52:21 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 16738 invoked from network); 28 Nov 2004 05:52:13 -0000 Received: from unknown (HELO mail.iinet.net.au) (203.59.3.41) by sourceware.org with SMTP; 28 Nov 2004 05:52:13 -0000 Received: (qmail 25469 invoked from network); 28 Nov 2004 05:52:11 -0000 Received: from unknown (HELO iinet.net.au) (203.217.52.16) by mail.iinet.net.au with SMTP; 28 Nov 2004 05:52:11 -0000 Message-ID: <41A95819.7060506@iinet.net.au> Date: Sun, 28 Nov 2004 05:52:00 -0000 From: Sisyphus User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313 MIME-Version: 1.0 To: gcc Subject: Internal (bit) representation of float and double. Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00196.txt.bz2 Hi, If I code: float a = 1.0; double b = 1.9; is there a way I can view the bit structure of a and b ? Does anyone have a link to an explanation of the way bits are assigned to floats and doubles (with gcc) ? Cheers, Rob