CChris wrote:
>
>
> I don't understand either of the two tests. Why rounding the returned value?
> Using atom_to_float64() and the parser built in the interpreter is much better.
> Don't compare strings, so that you avoid more false negatives. This had already
> hit you about deg2rad iirc.
> The arguments you used (2 and 2.3) are in the range where power(x,E) returns
> the proper value. Try x=10 without rounding.
>
From the deg2rad discussion, it was suggested that I not use atom_to_float64,
and when I tried to, I got figures slightly off. It couldn't make it match any
way I did it except by placing it into a string, however, what I placed into
the string was the same result I was getting from Python. Thus, I think they
are right, or python is wrong too.
--
Jeremy Cowgar
http://jeremy.cowgar.com