Quote:
Originally Posted by draikon3
... the random number generator in alice is slightly broken.
|
"slightly" is a bit of an understatement - but it is a known bug and documented, with a fix, in the official bug list on the main Alice site.
The problem is that even with integer selected, Alice still can only handle floating point numbers, so you may get something like 1.00000000001 instead of just 1.
You can just use the fix on the bug list or just use an inequality like test_number < 1.1, test_number >1.9 and <2.1, test_number > 2.9 to fix the problem.