Oppolzer - Informatik / Blog


Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie

ASSEMBLER-L - IEEE Gleitkommazahlen und -Genauigkeiten

Subject:

Re: IEEE floating points

From:

Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE>

Reply-To:

IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>

Date:

2011.03.25 20:40:09


We do it in C, because we have to be present on many different platforms:

z/OS
Windows
OS/2 (not now, but some years ago)
64 bit Linux
Sun solaris
AIX
BS 2000 mainframe (!)

There are also issues with a (sort of) database, which holds read only data
which control the computation. For this data, there are also different
organization patterns: random files, data spaces, DB2, special files of BS 2000
etc.

We are using PL/1 in other contexts, but to be portable across all these
platforms, including the laptops of the offline agents, we had to write the
software in C. This is a more than 15 years success story, and we managed the
rounding problem, even with the differences between mainframe HFP and IEEE BFP
on the other platforms.

Kind regards

Bernd



Am Mittwoch, 23. März 2011 23:32 schrieben Sie:
> From: Bernd Oppolzer <bernd.oppolzer@t-online.de>
> Date: Thursday, 24 March 2011 5:17
>
> >normally, the only pratical reason for such requirements (to get the
> >same results on all platforms) is that you are doing financial math
> >with floating point.
>
> Financial computations should be done in a language that is designed
> for it, such as PL/I.

Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie