Re: [racket-dev] floor-log/base, ceiling-log/base, from Neil Toronto's recent commit

2012-02-02 Thread Matthias Felleisen
Thank you for this neat example. It is good for ho contracts and, if you don't mind, I may use it with attribution of course, in HtDP/2e. -- Matthias On Feb 1, 2012, at 7:58 PM, John Boyle wrote: I happened to observe this commit from today by Neil Toronto:

[racket-dev] floor-log/base, ceiling-log/base, from Neil Toronto's recent commit

2012-02-01 Thread John Boyle
I happened to observe this commit from today by Neil Toronto: http://git.racket-lang.org/plt/commitdiff/47fcdd4916a2d33ee5c28eb833397ce1d2a515e2 I may have some useful input on this, having dealt with similar problems myself. The problem: Given b and x, you want to find the largest integer n

Re: [racket-dev] floor-log/base, ceiling-log/base, from Neil Toronto's recent commit

2012-02-01 Thread Neil Toronto
On 02/01/2012 05:58 PM, John Boyle wrote: I happened to observe this commit from today by Neil Toronto: http://git.racket-lang.org/plt/commitdiff/47fcdd4916a2d33ee5c28eb833397ce1d2a515e2 I may have some useful input on this, having dealt with similar problems myself. The problem: Given b and