All >>Java does not have Decimal Floating Point yet, and COBOL already plays >>very nicely with automatic conversion from Java float to COBOL float >>and back again with direct calls.
Java and COBOL can now use open source J2SE Java based z390 Portable Assembler to execute all the HFP, BFP, and DFP instructions for short, long, and extended precision. Visit www.z390.org for more information. z390 v1.4.02 due out in the next week will package all the recent enhancements which include addition of HFP un-normaliazed instruction compatibility (previosuly they were producing normalized results); SOA application generator now supports COBOL clients using EZASOKET calls to z390 services running on any platform including mainframes, Windows, or Linux; plus numerious other improvements for compatibility with HLASM and z9/z10 mainframes. The Java support uses for DFP uses BigDecimal class which is a superset of decimal floating point with arbitrary precision, exponent, and all types of rounding. It also has built in methods specifically for IEEE compatibility such as context DECIMAL128 and DECIMAL64. You can check out the source code in pz390.java all available for download from the z390 project on sourceforge.net. Don Higgins [EMAIL PROTECTED] ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

