Skip to content

documentation and code for a Python PEP about an appoximate equal check for Python

Notifications You must be signed in to change notification settings

PythonCHB/close_pep

Repository files navigation

close_pep

Documentation and code for a Python PEP about an appoximate equal check for Python.

There has been a large discussion on python-ideas about how and whether to add a function to the Python standard libary that checks if two values are approximately equal.

https://mail.python.org/pipermail/python-ideas/2015-January/030947.html

This repo serves as a place to experiment with implementations and to cooperate on the drafting of a PEP.

The PEP itself is in: pep-0485.txt.

A proposed implementation is in is_close_to.py, with unit tests in test_is_close_to.py, naturally.

I am using this for a working copy, so that people can review, submit pull requests, what have you.

The offical PEP is posted here:

https://www.python.org/dev/peps/pep-0485/ and http://legacy.python.org/dev/peps/pep-0485/

-- Chris

About

documentation and code for a Python PEP about an appoximate equal check for Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published