Question Base conversion... 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork
Re: News Project Step #3, deadline Monday 18 November (Mike O'Donnell)
Date: 2002, Nov 16
From: Benedict Singer <singerb@uchicago.edu>

For rational->xreal, I can see how to make a base-10 stream of digits from a rational number - but does Scheme provide a nice way to convert to base-3, or do we need to implement that ourselves? I couldn't see anything obviously in the manual about it. If we do implement that, where would the conversion be easiest to make - I'm not sure I see any especially easy place?


Messages

1. Feedback Use numerator, denominator, quotient, remainder, integer-floor, modulo by Mike O'Donnell, 2002, Nov 16
1. More Example? by Benedict Singer, 2002, Nov 16
1. More Never mind!! by Benedict Singer, 2002, Nov 16
2. Feedback Some examples of trinary expansions of rationals by Mike O'Donnell, 2002, Nov 16
2. Question floor by Mark Kittisopikul, 2002, Nov 18
1. Feedback floor of exact rationals is OK, of inexact numbers is not. by Mike O'Donnell, 2002, Nov 18
2. Question Is our new implem. of xreals another way to imagine base 5? by Ivan Beschastnikh, 2002, Nov 16
1. Feedback Redundant base 3, not base 5 by Mike O'Donnell, 2002, Nov 16

to: "Base conversion..."