Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: dik@cwi.nl (Dik T. Winter)
Subject: Re: VAX D-Float format
Date: 1997/10/31	[thread overview]
Message-ID: <EIw6u8.433@cwi.nl> (raw)
In-Reply-To: 63aalh$7rj@usenet.pa.dec.com


In article <63aalh$7rj@usenet.pa.dec.com> lionel@mail.dec.com (Steve Lionel) writes:
 > For all formats, the fraction is normalized and the radix point assumed to be
 > to the left of the MSB, hence 0.5 <= f < 1.0.  The MSB, always being 1, is
 > not stored.  The binary exponent is stored with a bias varying with type in
 > bits 14:n of the lowest-addressed word.

I may note that D-Float is pretty similar in concept to IEEE fp.  Converting
a valid D-Float representation to IEEE double precision is in general
straightforward (but beware of overflow), as is the reverse.  One point
though, although exponent bias is the same for both, there is a offset
by one between exponents, because D-Float is normalized at 0.5 <= f < 1.0
while IEEE is normalized at 1.0 <= f < 2.0.

I wish that the designers in their description of floating point
representation had normalized on the range in which a fraction (mantissa)
was normalized.
-- 
dik t. winter, cwi, kruislaan 413, 1098 sj  amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn  amsterdam, nederland; http://www.cwi.nl/~dik/



  reply	other threads:[~1997-10-31  5:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-29  5:00 VAX D-Float format Chieh Cheng
1997-10-30  5:00 ` John Laird
1997-10-30  5:00 ` Gregg E Economou
1997-10-31  5:00   ` Chieh Cheng
1997-11-05  5:00     ` WTB: Iomega Zip Drive Jerome Fine
     [not found]     ` <199711051454.JAA02820@dbit.dbit.com>
1997-11-05  5:00       ` Jerome Fine
1997-10-30  5:00 ` VAX D-Float format Steve Lionel
1997-10-31  5:00   ` Dik T. Winter [this message]
1997-10-31  5:00     ` John Wilson
1997-11-03  5:00       ` Dik T. Winter
1997-11-03  5:00   ` Chieh Cheng
1997-11-05  5:00     ` Steve Lionel
1997-11-06  5:00       ` Philippe Pouliquen
1997-11-10  5:00         ` John Laird
1997-10-30  5:00 ` Hoff Hoffman
1997-10-30  5:00 ` Steve Atkins
1997-10-31  5:00   ` Pedasmith
1997-11-05  5:00 ` John Foust
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox