From -3374827217294452880
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,fed4da4ddd62c919
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1995-01-01 22:46:46 PST
Path: nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!uwm.edu!lll-winken.llnl.gov!ames!koriel!male.EBay.Sun.COM!engnews2.Eng.Sun.COM!clamage
From: clamage@Eng.Sun.COM (Steve Clamage)
Newsgroups: comp.std.c++
Subject: Re: Packed Decimal and C++
Date: 2 Jan 1995 06:19:28 GMT
Organization: Sun Microsystems Inc., Mountain View, CA
Lines: 23
Message-ID: <3e85tg$l30@engnews2.Eng.Sun.COM>
References: <D1pB3B.Eyo@world.std.com>
NNTP-Posting-Host: taumet.eng.sun.com
X-Newsreader: NN version 6.5.0 #21 (NOV)

miket@world.std.com (Michael Trachtman) writes:

>Will C++ ever have a standard set of types and operations for
>packed decimal based numbers ? 

>Such a set of types would be useful for writing base 10, arbitrary
>precision, penny accuracy (i.e. no floating point round off errors)
>programs.

>The standard would not have to give the implementation.
>It would just give the class declaration ...

So far as I know, no one has ever submitted a proposal for such
a type or class. At this late date, it seems unlikely that it could
be included in the standard.

If it is as useful as you believe, you now have an opportunity to
become rich and famous: implement and sell such a class library!

(I'm quite serious. A number of companies do very well selling
specialized class libraries.)
--
Steve Clamage, stephen.clamage@eng.sun.com


