2017-02-19 12:09:10 +0200 | received badge | ● Popular Question (source) |
2011-12-06 12:12:08 +0200 | commented answer | len(list) & ceil(log(4,2)) bugs Yes a reserved set of names, keywords, of course. I looked at Haskell and it has all its functions out in the open, I like Java better with its neat classes. |
2011-12-06 09:40:33 +0200 | answered a question | len(list) & ceil(log(4,2)) bugs Yes, I had a variable there somewhere called len and then I changed its name but it was still in what you call the global scope I guess as I repasted the codes from the Worksheet and then I can understand DSM has touched the root of the problem, with the Sage 4.7.2 in Windows, I hope this helps. Thank you! |
2011-12-05 20:36:40 +0200 | received badge | ● Editor (source) |
2011-12-05 20:32:59 +0200 | asked a question | len(list) & ceil(log(4,2)) bugs I was programming functions in Sage for Big numbers and found a few bugs. def myfunction(num): # stops for up to 3 seconds if num == 4 t = cputime(); sad = ceil(log(num, 2)); print(cputime(t)); for m in range(2,12): myfunction(m); The problem is the happy = ceil(log(num+0, 2)); These bugs seem to an innocent amateur like me that Sage is an unstable system. |