🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.asm370
Article #356

Re: IBM and float decimal

#356
From: glen herrmannsfeldt
Date: Mon, 19 Sep 2005 22:17
27 lines
2621 bytes
Ray Mullins <mrm@lerctr.org> wrote:

(regarding float decimal)
> Actually, since this came out at the Futures session at
> the DB2 Tech Conference last week, I can now bring it up.

> DB2 V9 will support two new data types:  NUMERIC(16) and
> NUMERIC(34), which is probably this format.

That is 16 and 34 decimal digits?  16 would use 5*10+4 bits
for fraction, leaving 9 for exponent and one for sign.
The base 10 exponent would be about +/-255.
34 would be 11*10+4, 114 for fraction leaving 13 for
exponent and one for sign.

So no 32 bit type?

Are there just not enough bits to make it worthwhile?

> As I joked to one of my friends off-list, maybe now PL/I can finally
> differentiate between FLOAT DECIMAL and FLOAT BINARY.  :-)

Yes, that is what has been discussed in various newsgroup,
including comp.lang.fortran, wondering about the Fortran support
for it.

-- glen
Technical Details
Message-ID: <432F38F6.mailxAQH1FM1CK@seniti.ugcs.caltech.edu>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!sn-xit-02!sn-xit-06!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!ugcs.caltech.edu!gah
References: <!~ !UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAYIraNz2UkUSflTk98hv0JO KAAAAQAAAAJfvhLStCGEKKex9MB++d/AEAAAAA@lerctr.org>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcdcb,b023c2af0774fc43
X-Google-Attributes: gidfcdcb,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!sn-xit-02!sn-xit-06!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!ugcs.caltech.edu!gah
From: glen herrmannsfeldt <gah@ugcs.caltech.edu>
Newsgroups: bit.listserv.asm370
Subject: Re: IBM and float decimal
Date: Mon, 19 Sep 2005 15:17:26 -0700
Organization: SAS Inc.
Lines: 27
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <432F38F6.mailxAQH1FM1CK@seniti.ugcs.caltech.edu>
References: <!~
            !UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAYIraNz2UkUSflTk98hv0JO
            KAAAAQAAAAJfvhLStCGEKKex9MB++d/AEAAAAA@lerctr.org>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: foggy.unx.sas.com 1127168543 30759 10.19.150.41 (19 Sep 2005 22:22:23 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Mon, 19 Sep 2005 22:22:23 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
User-Agent: nail 9.30 2/20/02
Approved-By: glen herrmannsfeldt <gah@UGCS.CALTECH.EDU>
In-Reply-To: <!~
              !UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAYIraNz2UkUSflTk98hv0
              JOKAAAAQAAAAJfvhLStCGEKKex9MB++d/AEAAAAA@lerctr.org>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 19 Sep 2005 22:22:21.0004 (UTC)
                       FILETIME=[9A2128C0:01C5BD68]
Originator: daemon@mozart.unx.sas.com