[comp.lang.c] Conversions from decimal string to quadword

cipolla@rom01.enet.dec.com (Bruno Cipolla) (11/14/90)

I need to write some routines performing the following operation:

	1 - conversion from a 13 byte string with decimal digits
		to a 64 bits binary field (quadword)
	2 - conversion from 64 bits binary field to string


	3 - conversion from string (or 64 bit binary field) to
		6 bytes packed decimal (IBM format)
	4 - conversion from 6 bytes packed format to string (or 64 bit
		binary field)

Has anyone already done something on these matters?
I would appreciate very much to find some routines already tested.

Ciao

Tonino (From the Bruno account)