Guy Rouillier wrote:
> The IBM implementation provided language libraries (usually COBOL)
> that also supported packed decimal, so precision was maintained
> throughout the entire application stack.
>
IBM 360/370/390/etcetc/Zsystem has BCD op codes in the instruction set
architecture. microcoded of course, but they generally ran at the
memory bandwidth.
but, postgres's base 10000 'numeric' datatype is perfectly useful for
this. high precision numeric divides are probably fugly, but for normal
business math, they perform quite nicely.