atom = problem?
Can someone make the following code work?
include misc.e
atom a
a = tan(10.5)
pretty_print(1, a, {0})
printf(1, "\n%.60f\n", a)
if a = 1.8498999934219273466595723220962099730968475341796875 then
puts(1, "EQUAL\n")
else
puts(1, "NOT EQUAL\n")
end if
The result I get here w/3.2 or 3.1.1 is:
$ exu test.e
1.849899993
1.849899993421927346659572322096209973096847534179687500000000
NOT EQUAL
I'm having problems with unit testing because of this.
Thanks!
--
Jeremy Cowgar
http://jeremy.cowgar.com
|
Not Categorized, Please Help
|
|