kopia lustrzana https://github.com/backface/turtlestitch
commit
858094dd16
|
@ -1149,6 +1149,7 @@ SyntaxElementMorph.prototype.labelPart = function (spec) {
|
|||
false,
|
||||
{
|
||||
abs : ['abs'],
|
||||
ceiling : ['ceiling'],
|
||||
floor : ['floor'],
|
||||
sqrt : ['sqrt'],
|
||||
sin : ['sin'],
|
||||
|
|
|
@ -2115,6 +2115,9 @@ Process.prototype.reportMonadic = function (fname, n) {
|
|||
case 'abs':
|
||||
result = Math.abs(x);
|
||||
break;
|
||||
case 'ceiling':
|
||||
result = Math.ceil(x);
|
||||
break;
|
||||
case 'floor':
|
||||
result = Math.floor(x);
|
||||
break;
|
||||
|
|
Ładowanie…
Reference in New Issue