evaluation of the expression 7 factorial
Hello, As you can see : http://ramix.org/pharo/version-8.0/7-factorial.png the result of the following evaluation is not 5040 : 7 factorial Nota Bene : my linux laptop is running the 64 bits version of Pharo 8.0.0 -- Thanks for your help. Rene Paul Mages (ramix) GnuPG key 0x9840A6F7 http://renemages.wordpress.com/smalltalk/pharo/ http://www.linux-azur.org/ramix http://blog.pharo.fr
Try inspecting the result (Cmd+i) instead of printing it. The print result is breaking the number (5040) in two lines, but you only see the first three characters. Regards! Esteban A. Maringolo On Tue, Mar 10, 2020 at 1:48 PM Rene Paul Mages (ramix) <pharo@rmages.com> wrote:
Hello,
As you can see :
http://ramix.org/pharo/version-8.0/7-factorial.png
the result of the following evaluation is not 5040 :
7 factorial
Nota Bene : my linux laptop is running the 64 bits version of Pharo 8.0.0
-- Thanks for your help. Rene Paul Mages (ramix) GnuPG key 0x9840A6F7 http://renemages.wordpress.com/smalltalk/pharo/ http://www.linux-azur.org/ramix http://blog.pharo.fr
Hi, It's just that the printing buffer cannot contain all the characters (the last digit is most probably just a line down !) This happens often when using a size that is not small because the GUi object is not getting bigger :) (which is still not good) Pierre On 10/03/2020 17:47, Rene Paul Mages (ramix) wrote:
Hello,
As you can see :
http://ramix.org/pharo/version-8.0/7-factorial.png
the result of the following evaluation is not 5040 :
7 factorial
Nota Bene : my linux laptop is running the 64 bits version of Pharo 8.0.0
participants (3)
-
Esteban Maringolo -
hogoww -
Rene Paul Mages (ramix)