Euphoria
Ticket #556:
rand() return type assumptions incorrect
-
Reported by
mattlewis
Dec 17, 2010
When translating rand(), the type of the returned value is incorrect in some cases. Initially found by translating sanity.ex demo.
Details
1. Comment by mattlewis
Dec 17, 2010
The call to rand should return atom, since if a double is passed, the return might actually be an integer.