[Python-ideas] Consider adding clip or clamp function to math

Alexander Belopolsky alexander.belopolsky at gmail.com
Tue Aug 2 19:52:57 EDT 2016


On Tue, Aug 2, 2016 at 7:35 PM, Chris Barker <chris.barker at noaa.gov> wrote:

> If you want unbounded, then don't use this function :-) -- or pass in inf
> or -inf -- that's what they are for. And they work ...


+inf
:-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160802/9efe7f66/attachment.html>


More information about the Python-ideas mailing list