Gus Wirth wrote:
James G. Sack (jim) wrote:

So, I wonder:

-what's the current state of the decimal floating point movement

IEEE 854, as always.


-and what's the prognosis for general availability & adoption?

Mixed.

Decimal floating point is specified legislatively for all financial transactions. However, only IBM has a processor which does IEEE 854 in hardware and it's for very specialized use.

Not sure what the current state is but I have suddenly found myself having to implement BCD arithmetic. In an effort to replace some proprietary code I have to independently come up with a way to do functions with up to 64 digits of precision, with the BCD numbers being packed into a byte array of two digits per byte and the array being 32 bytes.

Does this help Gus?
http://www.delphiforfun.org/Programs/Library/BigFloat.htm

Lots of Decimal Floating Point links:
http://www2.hursley.ibm.com/decimal/

You would probably be better off using a generalized decimal floating point library and writing BCD conversion functions rather than having to work out all of the math.

-a

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to