🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.mandrake
Article #509

Re: Problems with float variables in C

#509
From: Trevor L. Jackson, III
Date: Mon, 10 Sep 2001 11:27
18 lines
2537 bytes
Dennis Lee Bieber wrote:

> On 08 Sep 2001 19:10:53 GMT, "Trevor L. Jackson, III"
> <fullmoon@aspi.net> declaimed the following in alt.os.linux.mandrake:
>
> >
> > Normalized numbers (>=FLT_MIN) shift the mantissa and scale the exponent until the
> > MSB of the mantissa is one.  So called "denormalized numbers" aren't shifted
>
>         There is also a format which goes one step beyond that. Since a
> "normalized" number always has a 1-bit at the left of the mantissa, one
> can assume a 1-bit and use the space to extend the exponent by any
> additional bit (or extend the mantissa by one more bit).

Yes.  For example, on the x86 both 32- and 64-bit formats hide the normalized bit while
the 80-bit format does not.
-- 
comp.lang.c.moderated - moderation address: clcm@plethora.net
Technical Details
Message-ID: <clcm-20010910-0001@plethora.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-out.visi.com!hermes.visi.com!gemini.plethora.net.POSTED!not-for-mail
References: <clcm-20010905-0003@plethora.net> <clcm-20010905-0016@plethora.net> <clcm-20010907-0010@plethora.net> <clcm-20010908-0005@plethora.net> <clcm-20010909-0003@plethora.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,898a7d80327816b3
X-Google-Attributes: gid11318c,public
X-Google-Thread: f65d0,898a7d80327816b3
X-Google-Attributes: gidf65d0,public
X-Google-Thread: 100850,77ebfbc06b0f9856
X-Google-Attributes: gid100850,public
X-Google-Thread: 108717,898a7d80327816b3
X-Google-Attributes: gid108717,public
X-Google-Thread: f8a83,898a7d80327816b3
X-Google-Attributes: gidf8a83,public
X-Google-ArrivalTime: 2001-09-10 04:27:22 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-out.visi.com!hermes.visi.com!gemini.plethora.net.POSTED!not-for-mail
X-Old-trace: typhoon.ne.mediaone.net 1000118332 24.147.52.14 (Mon, 10 Sep 2001 06:38:52 EDT)
Subject: Re: Problems with float variables in C
Approved: clc@plethora.net
Content-Transfer-encoding: 7bit
References: <clcm-20010905-0003@plethora.net> <clcm-20010905-0016@plethora.net> <clcm-20010907-0010@plethora.net> <clcm-20010908-0005@plethora.net> <clcm-20010909-0003@plethora.net>
From: "Trevor L. Jackson, III" <fullmoon@aspi.net>
Organization: Organization
X-Accept-language: en
Content-Type: text/plain; charset=us-ascii
Return-Path: <news@lrnws01.ne.mediaone.net>
X-Old-complaints-to: abuse@mediaone.net
Mime-Version: 1.0
Newsgroups: alt.os.linux.mandrake,comp.lang.c.moderated,comp.programming,gnu.gcc,gnu.gcc.help
Message-ID: <clcm-20010910-0001@plethora.net>
X-Mailer: Mozilla 4.72 [en] (WinNT; U)
Originator: clcm@plethora.net (Comp Lang C'Moderated)
Date: 10 Sep 2001 11:27:20 GMT
Lines: 18
NNTP-Posting-Host: 06e2ca74.news.plethora.net
X-Trace: 1000121240 gemini.plethora.net 317 clcm@205.166.146.1
X-Complaints-To: abuse@plethora.net