STINNER Victor <[EMAIL PROTECTED]> added the comment: Why do you use float (32 bits) instead of double (64 bits)? Your example use: double (python) -> float (C) -> double (python)
If you convert 64 bits float to 32 bits, for sure you will loose some digits. It's not a bug in Python, but a problem in your code ;-) ---------- nosy: +haypo _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4114> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com