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

Folders and files

NameName
Last commit message
Last commit date
Jan 23, 2015
Jan 23, 2015
Jan 27, 2015
Jan 24, 2015
Feb 3, 2015
Jun 29, 2015
May 19, 2015
Feb 10, 2015
Jan 27, 2015
May 31, 2015
May 15, 2015
May 16, 2015
Feb 10, 2015
Feb 10, 2015
May 19, 2015

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