title: Node.js issue with Math.log exiting immediately
body: <p>I was doing some work with Gulp and pushed my tasks to our Windows 2008 R2 server where they strangely stopped working.  </p>
  
  <p>The tasks are just exiting at a certain point and return me to prompt.  Everything is working fine on my Windows 7 dev machine and on one Windows 2008 R2 server, so far the issue is only occuring on our development Windows 2008 R2 server</p>
  
  <p>Through isolation, I was able to narrow it down to the module <a href="https://www.npmjs.com/package/pretty-bytes" rel="nofollow">Pretty bytes</a> which uses Math.log in its calculation. I tried to use Math.log directly from node and I get the same result on that one server. It looks like Math.log is broken, however other Math functions work just fine.</p>
  
  <p>Reproduction steps below:</p>
  
  <p>Details:</p>
  
  <pre><code>2 different Windows 2008 R2 running in a VM (if that's important)
  node v0.12.7
  
  //nodemathtest.js
  console.log(process.versions);
  console.log("before");
  console.log(Math.floor(2.2));
  console.log(Math.log(10));
  console.log("after");
  </code></pre>
  
  <p>Running <code>node mathlogtest.js</code></p>
  
  <p>On one my machine and on one Windows 2008 R2 server I get the expected result:</p>
  
  <pre><code>C:\&gt;node mathlogtest.js
  { http_parser: '2.3',
    node: '0.12.7',
    v8: '3.28.71.19',
    uv: '1.6.1',
    zlib: '1.2.8',
    modules: '14',
    openssl: '1.0.1p' }
  before
  2
  2.302585092994046
  after
  </code></pre>
  
  <p>On our development Windows server where the Gulp tasks are exiting prematurely I get this:</p>
  
  <pre><code>C:\&gt;node mathlogtest.js
  { http_parser: '2.3',
    node: '0.12.7',
    v8: '3.28.71.19',
    uv: '1.6.1',
    zlib: '1.2.8',
    modules: '14',
    openssl: '1.0.1p' }
  before
  2
  
  C:\&gt;
  </code></pre>
  
  <p>I can see that Math.log is causing Node to exit immediately back to prompt which is also what's happening from Gulp, I get kicked back to my prompt and the task is interrupted.</p>
  
  <p>I'm not exactly sure where to look as I'm fairly new to Node.  From my understanding Node is using Chrome's V8 JS engine and <code>process.version</code> is returning exactly the same on each server.  I've tried to install .NET 4.5.1 and various C++ redistributable package to no avail.</p>