On Mon, 2012-01-02 at 16:12 -0700, Paul Gilmartin wrote: > On Jan 2, 2012, at 03:11, Bernd Oppolzer wrote: > > > > On Sun Solaris, there were other kinds of errors, which had to do with the > > alignment of shorts, > > ints, and longs. While optional on other platforms, this was mandatory on > > Solaris. > > > This could also be a consequence of presuming little-endian. > > > We are also constantly fighting with rounding problems - successfully most > > of the time - , > > because we use the classical HEXADEC representation for floating point on > > z/OS > > (we have to communicate with PL/1 and - classical - ASSEMBLER). > > > Are you suggesting that ASSEMBLER lacks support for either IEEE BFP or DFP? > Don't know about PL/I. > > -- gil
Likely he means that changing old (HFP floating point) code to BFP or DFP floating point would be too expensive, so they continue to use HFP floating point. PL/I supports all 3 formats: IEEE (BFP), S390 (HFP) and Decimal (DFP). http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ibm4pg00/1.2.3.2.7 http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ibm4pg00/1.1.1.29 -- John McKown Maranatha! <><
