On 9-Dec-05, at 9:39 PM, Bradley Lucier wrote:
Marc:
I bit the bullet and did the optimal expt, you'll be amazed.
Hey... I'm always amazed when I read your code ;-)
It still is not tested extensively, but at least the code is straightforward. So now we have things like:
(##my-expt 8/27 1/3)
2/3
In the process, I discovered that ##exact-int.nth-root was buggy as hell and fixed it (and tested it). I trust it now.
The new routines begin with ##my-...
If other people want to test ##my-expt, that would help. Put it in a sibling directory to the lib directory in the gambc40b15 directory to compile it.
I removed srfi-56 and Alex Shinn from the CC list ;-).
Brad
<expt.scm>
Great! In the meantime I will add "pow" to gambit.h so that ##flonum.pow can be inlined. Let me know when your testing is done.
Marc