You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • That's what I'm now using (I changed from using the original Math library a while back). JavaScript does have some interesting differences from the C implementation though (eg NaN and Infinity handling), so I'd have to be careful to only use it in the right circumstances - and also careful that it wasn't one of the functions that uses malloc for no good reason - it's not as easy as a simple swap.


Avatar for Gordon @Gordon started