|
I'm not aware of any special Scheme procedures for base conversion. It's pretty simple to do Because of the redundancy of base 3 notation with trits in the range -2 to 2, you have lots of choices. It doesn't matter which one you make. Two natural approaches are to produce only trits in the range -1 to 1, or only trits in the range 0 to 2. Each of these uses a different subset of the procedures mentioned above. Make sure that you are consistent. You are most likely to make errors with negative numbers.
where would the conversion be easiest to make - I'm not sure I see any especially easy place?I don't understand the meaning of "place" in this question. Don't think of this as a conversion of bases. A Scheme rational is not in any particular base. The conversion is from Mike O'D. |
Example? by Benedict Singer, 2002, Nov 16
Never mind!! by Benedict Singer, 2002, Nov 16
Some examples of trinary expansions of rationals by Mike O'Donnell, 2002, Nov 16
floor by Mark Kittisopikul, 2002, Nov 18
floor of exact rationals is OK, of inexact numbers is not. by Mike O'Donnell, 2002, Nov 18
to: