SuccessChanges

Summary

  1. Fixes #4701 (details)
  2. Fixes #4701 (details)
  3. Fixes #4701 (details)
Commit 57dc57ddb9f131d7e642691680d98cb5319821a0 by kasper.osterbye
Fixes #4701
Ansi says to use rounded rather than truncated :
``` 5.6.2.16.Message: asInteger Synopsis Answer an integer approximating
the receiver. Definition: <number> Answer the result of sending #rounded
to the receiver.
````
Changed to `rounded`, ran all the tests that seemed relevant, and added
a testcase for the issue at hand.
The file was modifiedsrc/Kernel/Number.class.st (diff)
The file was modifiedsrc/Kernel-Tests/NumberTest.class.st (diff)
The file was addedsrc/Kernel-Tests/MagnitudeTest.class.st
Commit 29b5711acdd02acf8eb29e36b07b3020f9474b35 by kasper.osterbye
Fixes #4701
Changed the comment to match the ansi standard
The file was modifiedsrc/Kernel/Number.class.st (diff)
Commit 92e3d4d7285ad10e438753dd25be0eed425a9fd5 by kasper.osterbye
Fixes #4701
The implementation of asInteger doing truncation instead of the ansi way
of doing rounded is taken over from Squeak. It seems like the morphic
system is depending on asInteger doing truncation instead of rounding. I
added a comment in asInteger to warn about the fact that we are not ansi
compliant.
The file was modifiedsrc/Kernel-Tests/NumberTest.class.st (diff)
The file was modifiedsrc/Kernel/Number.class.st (diff)