Packed Decimal Conversion fns sought, TFM is silent
Jon McCown
jdm1 at eds1.UUCP
Wed Jun 21 08:12:21 AEST 1989
I am looking for routines to munge IBM/370 style packed decimal data into
a long (or int) and vice versa. ptol or ltop anyone? Range checking is
not a major concern (yet).
My work on the problem has produced some medium kludgy and slow routines that
have yet to be proven reliable. Surely someone has an elegant (or at least
well tested) shot at this. . . . ?
- Jon McCown
(No, I don't have a COBOL compiler on the system :-)
--
J.D. McCown - RCSG Director - Senate of Pennsylvania
psuvax1!eds1!jdm1 (this space intentionally "Your life or your lupins!"
jdm1 at eds1.eds.com filled with this text) - Dennis Moore
More information about the Comp.lang.c
mailing list