bcdbcd Function

timath.h

bcd bcdbcd (long x);

Converts integer to BCD.

bcdbcd is principally the same as flt, but instead of ordinary float, its return value is a bcd structure (which represent internal organization of floating point values in TIOS). At the fundamental level, bcdbcd and flt are the same routine.