Discrepency between JPython and CPython

Brian noreply at nospam.org
Sun Apr 30 19:05:23 EDT 2000


Here is a list of differences you might find useful:
http://www.jpython.org/docs/differences.html

"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