<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<link rel="alternate" type="text/html" href="https://gamma.unpythonic.net/"/>

<title>Jeff Epler's blog</title>
<modified>2012-05-29T13:03:33Z</modified>
<tagline>Photos, electronics, cnc, and more</tagline>
<author><name>Jeff Epler</name><email>jepler@unpythonic.net</email></author>
<entry>
<title>A use for log1p</title>
<issued>2012-05-29T13:03:33Z</issued>
<modified>2012-05-29T13:03:33Z</modified>
<id>https://gamma.unpythonic.net/01338296613</id>
<link rel="alternate" type="text/html" href="https://gamma.unpythonic.net/01338296613"/>
<content type="text/html" mode="escaped">
The ANSI C math library includes a few curious functions such as log1p,
which is duly copied (or wrapped) in other languages like Python.
The programmer without a background in numerics may wonder why such a function
is necessary or useful.  Here is a real world example in calculating the
likelihood of a random collision in a &lt;a href=&quot;http://en.wikipedia.org/wiki/Birthday_attack&quot;&gt;Birthday Attack&lt;/a&gt;.</content>
</entry>
</feed>
