Discrepency between JPython and CPython
Robert
Robert at nospam.edu
Sun Apr 30 21:36:11 EDT 2000
You should go to the JPython site (http://www.jpython.org/) and read up on
the differences between CPython and JPython.
Bob
"Venkatesh Prasad Ranganath" <rvprasad at cis.ksu.edu> wrote in message
news:m3k8hfjlex.fsf at boss.ksu.edu...
> Hi,
>
> Consider the expression str(1.14 * 200).
> In CPython it yields 228.0
> In JPython it yields 227.99999999999997
>
> Shouldn't this result in consistent values across variuos implementation?
> If so, which of the implementation is buggy?
> I think it is JPython, may be I am wrong.
>
> --
> Venkatesh Prasad Ranganath
>
> e-mail: rvprasad at cis.ksu.edu, rvprasad at ksu.edu
>
> Address: Department of Computing and Information Science,
> 234 Nichols Hall,
> Kansas State University,
> Manhattan, KS 66506
>
> Phone: (785)-532-6350 Extn: 48
>
More information about the Python-list
mailing list