title: bash, bc modulo does not work with -l flag
body: <p>So I am trying to use <code>bc</code> to calculate some logarithms but I also need to use it to calculate the modulus for something. Whilst making my script, I launched <code>bc</code> to test it.</p>
  
  <p>Without any flags, <code>bc &lt;&lt;&lt; "3%5"</code> of course returns <code>3</code>.</p>
  
  <p>But with <code>bc -l</code> (loads math library so I can compute logarithms) any calculation of <code>a%b</code> returns <code>0</code> where <code>a</code> and <code>b</code> can be any number but <code>0</code>.</p>
  
  <p>What's happening?</p>