This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients alex, belopolsky, daniel.urban, mark.dickinson
Date 2011-05-03.14:52:15
SpamBayes Score 0.00010418588
Marked as misclassified No
Message-id <1304434336.69.0.514743323755.issue11949@psf.upfronthosting.co.za>
In-reply-to
Content
> There are lots of almost-equality tests in the test-suite already,
> between test_math, test_float, test_cmath and test_complex.
>  Do you need to implement another one here, or can you reuse one
> of the existing ones?

I can probably use acc_check() instead of abs(value-expected) <= eps, but I am not sure that will be an improvement.  Most of the new logic deals with NaNs and negative zero and the almost-equality tests that I've seen don't implement these cases correctly for my use.
History
Date User Action Args
2011-05-03 14:52:16belopolskysetrecipients: + belopolsky, mark.dickinson, alex, daniel.urban
2011-05-03 14:52:16belopolskysetmessageid: <1304434336.69.0.514743323755.issue11949@psf.upfronthosting.co.za>
2011-05-03 14:52:16belopolskylinkissue11949 messages
2011-05-03 14:52:15belopolskycreate