From 8516199164595663259
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,fed4da4ddd62c919
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1995-01-02 22:04:43 PST
Path: nntp.gmd.de!newsserver.jvnc.net!netnews.upenn.edu!msunews!agate!howland.reston.ans.net!quagga.ru.ac.za!ucthpx!ticsa.com!cstatd.cstat.co.za!not-for-mail
From: vincer@iaccess.za (Vince Risi)
Newsgroups: comp.std.c++
Subject: Re: Packed Decimal and C++
Date: 3 Jan 1995 06:36:56 +0200
Organization: Internet Africa public service
Lines: 18
Message-ID: <LD92lWsogV5P073yn@iaccess.za>
References: <D1pB3B.Eyo@world.std.com> <3e85tg$l30@engnews2.Eng.Sun.COM>
NNTP-Posting-Host: 192.96.87.12

In article <3e85tg$l30@engnews2.Eng.Sun.COM>,
clamage@Eng.Sun.COM (Steve Clamage) wrote:
> 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.

> 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!

Rogue Wave has a set of MONEY classes for just this. Works pretty well.

Vince
=====


