Never mind! I discovered "normalize". Thanks.
Don
Don McLane wrote:
This is a new-user question. I'm typing things in a workspace and sending them to the transcript (and, as it turns out, learning to use the debugger). I decided to challenge myself by reviewing some discrete mathematics. So one statement read:
(5 raisedTo: (r-1) modulo: r) = 1 ifFalse: [successFlag := false].
where r was big (in one of my tests it was 501659). The debugger reported that the left hand side of the '=' sign evaluated to "01"--what does the leading '0' mean? Why does the equality test fail? Am I crazy?
Thanks, Don