|
|
1.1 ! root 1: ! 2: ! 3: ! 4: RADCON(2) Icon Program Library RADCON(2) ! 5: ! 6: ! 7: ! 8: NNNNAAAAMMMMEEEE ! 9: radcon - radix conversion procedures ! 10: ! 11: DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN ! 12: These procedures convert numbers from one radix to another. ! 13: The letters from aaaa to zzzz are used for `digits' greater than ! 14: 9. All the conversion procedures fail if the conversion can- ! 15: not be made. ! 16: ! 17: SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS ! 18: eeeexxxxbbbbaaaasssseeee11110000((((iiii,,,,jjjj)))) convert base-10 integer iiii to base jjjj ! 19: iiiinnnnbbbbaaaasssseeee11110000((((ssss,,,,iiii)))) convert base-iiii integer ssss to base 10. ! 20: rrrraaaaddddccccoooonnnn((((ssss,,,,iiii,,,,jjjj)))) convert base-iiii integer ssss to base jjjj. ! 21: ! 22: LLLLIIIIMMMMIIIITTTTAAAATTTTIIIIOOOONNNN ! 23: The maximum base allowed is 36. ! 24: ! 25: SSSSEEEEEEEE AAAALLLLSSSSOOOO ! 26: Griswold, Ralph E. and Madge T. Griswold. _T_h_e _I_c_o_n _P_r_o_g_r_a_m_- ! 27: _m_i_n_g _L_a_n_g_u_a_g_e, Prentice-Hall, Inc., Englewood Cliffs, New ! 28: Jersey, 1983. pp. 67, 286. ! 29: ! 30: AAAAUUUUTTTTHHHHOOOORRRR ! 31: Ralph E. Griswold ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: Version 5.9 The University of Arizona - 5/30/83 1 ! 64: ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.