1/0 = 0
Meanwhile, in Python v3.7.0...<p><pre><code>      &gt;&gt;&gt; 1 &#x2F; 0
      Traceback (most recent call last):
        File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
      ZeroDivisionError: division by zero
      &gt;&gt;&gt; 0 &#x2F; 0
      Traceback (most recent call last):
        File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
      ZeroDivisionError: division by zero
      &gt;&gt;&gt; 1 &#x2F; 0.0
      Traceback (most recent call last):
        File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
      ZeroDivisionError: float division by zero
      &gt;&gt;&gt; 0.0 &#x2F; 0.0
      Traceback (most recent call last):
        File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
      ZeroDivisionError: float division by zero
</code></pre>
Meanwhile, in Elixir v1.7.1...<p><pre><code>      iex(1)&gt; 1 &#x2F; 0
      ** (ArithmeticError) bad argument in arithmetic expression: 1 &#x2F; 0
          :erlang.&#x2F;(1, 0)
      iex(1)&gt; 0 &#x2F; 0
      ** (ArithmeticError) bad argument in arithmetic expression: 0 &#x2F; 0
          :erlang.&#x2F;(0, 0)
      iex(1)&gt; 1.0 &#x2F; 0.0
      ** (ArithmeticError) bad argument in arithmetic expression: 1.0 &#x2F; 0.0
          :erlang.&#x2F;(1.0, 0.0)
      iex(1)&gt; 0.0 &#x2F; 0.0
      ** (ArithmeticError) bad argument in arithmetic expression: 0.0 &#x2F; 0.0
          :erlang.&#x2F;(0.0, 0.0)

</code></pre>
Meanwhile, in Ruby v2.5.1...<p><pre><code>      irb(main):001:0&gt; 1 &#x2F; 0
      Traceback (most recent call last):
              3: from &#x2F;Users&#x2F;mpope&#x2F;.rbenv&#x2F;versions&#x2F;2.5.1&#x2F;bin&#x2F;irb:11:in `&lt;main&gt;&#x27;
              2: from (irb):1
              1: from (irb):1:in `&#x2F;&#x27;
      ZeroDivisionError (divided by 0)
      irb(main):002:0&gt; 0 &#x2F; 0
      Traceback (most recent call last):
              3: from &#x2F;Users&#x2F;mpope&#x2F;.rbenv&#x2F;versions&#x2F;2.5.1&#x2F;bin&#x2F;irb:11:in `&lt;main&gt;&#x27;
              2: from (irb):2
              1: from (irb):2:in `&#x2F;&#x27;
      ZeroDivisionError (divided by 0)
      irb(main):003:0&gt; 1 &#x2F; 0.0
      =&gt; Infinity
      irb(main):004:0&gt; 0.0 &#x2F; 0.0
      =&gt; NaN
</code></pre>
Meanwhile, in PHP v7.0.8...<p><pre><code>      &gt; echo 1 &#x2F; 0;
      &gt;
      INF
      Division by zero :1
      &gt; echo 0 &#x2F; 0;
      &gt;
      NAN
      Division by zero :1
      &gt; echo 1 &#x2F; 0.0;
      &gt;
      INF
      Division by zero :1
      &gt; echo 0.0 &#x2F; 0.0;
      &gt;
      NAN
      Division by zero :1
</code></pre>
Meanwhile, in Node v10.7.0...<p><pre><code>      Infinity
      &gt; 1 &#x2F; 0
      Infinity
      &gt; 0 &#x2F; 0
      NaN
      &gt; 1 &#x2F; 0.0
      Infinity
      &gt; 0 &#x2F; 0.0
      NaN</code></pre>