Re: IEEE Decimal Float on Itanium



On Fri, 08 Dec 2006 19:36:54 -0800, Arne Vajhøj <arne@xxxxxxxxxx> wrote:

Tom Linden wrote:
On Fri, 08 Dec 2006 12:06:31 -0800, Stephen Hoffman <Hoff@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
John Reagan wrote:
Most definitely. Currency calculations. Many (and I do mean MANY) applications incorrectly use binary floating point to manipulate currency. They often find out too late that 1.23 + 4.56 may not equal 5.79 (at least exactly). COBOL on Alpha and I64 have lots of software to emulate that decimal abilities on the VAX. Having it back in hardware might allow COBOL applications to see a performance increase.

The question should better have been "do you have something in particular here requiring integer values larger than, say, quadwords?" And if so, are the numbers of quadword (or larger) operations required going to see a particular benefit from the addition of hardware and/or software?

There are certainly organizations that are dealing with vast sums of money, though most also have the budgets needed for customized hardware.
We had a bit of a discussion on this topic in comp.lang.pl1 and I think
it was somewhat evenly divided on the value of this. The group I fell
into was of the opinion that scaled fixed decimal (which on VAX and Alpha
gives us 31 digits) was adequated for the task. The other group that it
was good because it would obviate FIXED OVER FLOW EXCEPTIONS, FOFL in PL/I
ecxception handling parlance.
As it turns out, studying the IBM papers on this, they use an encoding
techniques which gives them two additional digits of accuracy to 33, but
when the computations are performed they convert to packed decimal, bcd
format. My own feeling is that if they add this as a new data type in
C, for example, it would make C viable to be used in financial applications.
My god, have we sunk that low:-)

decimal is actually a builtin type in the newest "big" language: C#.
I presume that is IEEE (proposed) float decimal?

IBM could use C# via Mono on Linux running on zSeries hardware
Well the code generator would have to be taught to emit all those new
instructions

But Cobol or Java seems more likely on zSeries (BigDecimal is
a class in Java, but nothing prevents the JVM from JIT'ing
it to something hardware supported).

Arne



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
.



Relevant Pages

  • Re: got very slow
    ... - Uninstalled unknown/unneeded applications in Add/Remove Programs? ... What hardware do you have? ... What to Know Before You Download and Install Windows XP Service Pack 2 ... You also have hardware on your machine that requires drivers to interface ...
    (microsoft.public.windowsxp.general)
  • Re: OT (Maybe): ERPs
    ... >what hardware, O/S, etc, we run all Intel based systems. ... Boxed off-the-shelf applications, games, ... "TPC benchmarks also differ from other benchmarks in that TPC ... The most frequent transaction consists of entering a new order which, ...
    (comp.lang.cobol)
  • Re: OT: Re: Jobst Brandt vs. Tire Glue
    ... The winning combination was generic hardware and bundled software. ... in the sense that they are server apps that don't have to deal with a plethora of peripherals and are singular applications that don't have to integrate with a lot of others. ... Who would put up somebody with a stutter as a presenter? ...
    (rec.bicycles.tech)
  • Re: Limitations of VMs?
    ... Would anyone with direct experience of working with VMs like to comment on this review and/or on the limitations of other VM products? ... Memory or data Intensive applications and/or critical applications can have their own OS dedicated to that one application. ... No other applications outside applications that would normally running on a single instance server. ... Consolidation of Hardware: Instead of 5 servers, each with an OS, you can choose to buy one redundant server with multiple CPUs and lots of RAM and create VMs based upon need on that one box. ...
    (borland.public.delphi.non-technical)
  • Re: Announce: Impulse C-to-RTL Version 2 now available
    ... is a useful replacement for VHDL and/or Verilog programming. ... There is also little benefit in doing "baby applications" ... hardware equivalents or pre-optimized library blocks ... HDL programming. ...
    (comp.arch.fpga)

Loading