When does python raise a FloatingPointError?
<p>Python documentation says that FloatingPointError is raised when a float calculation fails. But what is exactly meant here by <em>"a float calculation"</em>?
I tried adding, multiplying and dividing with floats but never managed to raise this specific error. Instead, i got a <code>TypeError</code>:</p>

<pre><code>10/'a'
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
TypeError: unsupported operand type(s) for /: 'int' and 'str'
</code></pre>

<p>Can someone help me understand when a <code>FloatingPointError</code> is raised in python?</p>