On Wed, Oct 04, 2006 at 02:36:21PM -0400, Jason Spiro wrote: > When I use mod(), gcd(), or lcm(), I get an error message saying that > the arguments must be integers (which means that I should have entered > an '#' character before I entered them.) It would be nice if Orpie > automatically converted the the arguments to integer format for me. > Alternatively, perhaps rpc_calc.ml : mod_int (), gcd (), and lcm () > could be modified to accept reals as their input and return real > output.
I think I implemented these functions as int->int only out of some twisted desire for mathematical purity. After trying to use them in practice, I have to agree that real->int should be an acceptable form as well (with an error for non-integral real input). I'll put this on the to-do list. > P.S. Thanks for writing/packaging Orpie. It's the most efficient PC > calculator app I've ever used. Always nice to hear that. Thanks! Paul -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]