This commit is contained in:
William Ferguson 2014-07-25 08:45:23 +01:00
parent 968baec89f
commit e57c4ec1f2

View file

@ -100,6 +100,8 @@ Primitives.prototype.primMathFunction = function(b) {
case 'log': return Math.log(n) / Math.LN10;
case 'e ^': return Math.exp(n);
case '10 ^': return Math.exp(n * Math.LN10);
case 'floor': return Math.floor(n);
case 'ceiling': return Math.ceil(n);
}
return 0;
}