|
@@ -1788,6 +1788,17 @@ return $1;
|
|
messageSends: ["+", "truncated", "*", "next", "new"]}),
|
|
messageSends: ["+", "truncated", "*", "next", "new"]}),
|
|
smalltalk.Number);
|
|
smalltalk.Number);
|
|
|
|
|
|
|
|
+smalltalk.addMethod(
|
|
|
|
+smalltalk.method({
|
|
|
|
+selector: "ceiling",
|
|
|
|
+fn: function (){
|
|
|
|
+var self=this;
|
|
|
|
+return smalltalk.withContext(function($ctx1) {
|
|
|
|
+return Math.ceil(self);;
|
|
|
|
+return self}, function($ctx1) {$ctx1.fill(self,"ceiling",{},smalltalk.Number)})},
|
|
|
|
+messageSends: []}),
|
|
|
|
+smalltalk.Number);
|
|
|
|
+
|
|
smalltalk.addMethod(
|
|
smalltalk.addMethod(
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: "copy",
|
|
selector: "copy",
|
|
@@ -1827,6 +1838,17 @@ return $1;
|
|
messageSends: ["=", "\x5c\x5c"]}),
|
|
messageSends: ["=", "\x5c\x5c"]}),
|
|
smalltalk.Number);
|
|
smalltalk.Number);
|
|
|
|
|
|
|
|
+smalltalk.addMethod(
|
|
|
|
+smalltalk.method({
|
|
|
|
+selector: "floor",
|
|
|
|
+fn: function (){
|
|
|
|
+var self=this;
|
|
|
|
+return smalltalk.withContext(function($ctx1) {
|
|
|
|
+return Math.floor(self);;
|
|
|
|
+return self}, function($ctx1) {$ctx1.fill(self,"floor",{},smalltalk.Number)})},
|
|
|
|
+messageSends: []}),
|
|
|
|
+smalltalk.Number);
|
|
|
|
+
|
|
smalltalk.addMethod(
|
|
smalltalk.addMethod(
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: "identityHash",
|
|
selector: "identityHash",
|