[comp.os.msdos.programmer] BCD arithmetic libs

sichermn@beach.csulb.edu (Jeff Sicherman) (04/14/91)

  Are there any BCD (Binary Coded Decimal) / Packed Decimal arithmetic
libraries out there ? Would prefer for Fortran but C or assembler is
OK. Buyware/Shareware/Freeware all acceptable.

Jeff Sicherman

resnicks@netcom.COM (Steve Resnick) (04/23/91)

In article <1991Apr16.103655.1851@isc.rit.edu> ecldco@isc.rit.edu (E.C. Loyd) writes:
>In article <1991Apr13.211105.24615@beach.csulb.edu> sichermn@beach.csulb.edu (Jeff Sicherman) writes:
>>
>>  Are there any BCD (Binary Coded Decimal) / Packed Decimal arithmetic
>>libraries out there ? Would prefer for Fortran but C or assembler is
>>OK. Buyware/Shareware/Freeware all acceptable.
>>
>>Jeff Sicherman
>
>If you use Turbo C++, and if you're in to C++ (as opposed to C), they have
>BCD libraries available for their Turbo C++ package.  Of course, if you 
>don't care to use C++ (object oriented language) then this won't help you.

Why not? I use Borland C's BCD class without using other C++ features.
The code looks and acts like C. The only real difference from my perspective
is the mangled names in the .OBJ files.

Cheers!
Steve

-- 
-------------------------------------------------------------------------------
	resnicks@netcom.com, steve@camphq, IFNA:	1:143/105.0, 
USNail: 530 Lawrence Expressway, Suite 374 
        Sunnyvale, Ca 94086
- In real life: Steve Resnick. Flames, grammar and spelling errors >/dev/null
0x2b |~ 0x2b, THAT is the question.
The Asylum OS/2 BBS - (408)263-8017 12/2400,8,1 - Running Maximus CBCS 1.2
-------------------------------------------------------------------------------