1 | /* |
2 | * $Id: bcd2.h,v 1.2 2005/01/03 20:08:58 jms Exp $ |
3 | * |
4 | * Revision History |
5 | * =================== |
6 | * $Log: bcd2.h,v $ |
7 | * Revision 1.2 2005/01/03 20:08:58 jms |
8 | * change line terminations |
9 | * |
10 | * Revision 1.1.1.1 2004/11/24 23:31:45 jms |
11 | * re-establish external server |
12 | * |
13 | * Revision 1.1.1.1 2003/04/03 18:54:21 jms |
14 | * recreation after CVS crash |
15 | * |
16 | * Revision 1.1.1.1 2003/04/03 18:54:21 jms |
17 | * initial checkin |
18 | * |
19 | * |
20 | */ |
21 | int bin_bcd2(long binary, long *low_res, long *high_res); |
22 | int bcd2_bin(long *dest, long bcd); |
23 | int bcd2_add(long *bcd_low, long *bcd_high, long addend); |
24 | int bcd2_sub(long *bcd_low, long *bcd_high, long subend); |
25 | int bcd2_mul(long *bcd_low, long *bcd_high, long multiplier); |
26 | int bcd2_div(long *bcd_low, long *bcd_high, long divisor); |
27 | long bcd2_mod(long *bcd_low, long *bcd_high, long modulo); |
28 | long bcd2_cmp(long *bcd_low, long *bcd_high, long compare); |
29 | |