Euphoria Ticket #556: rand() return type assumptions incorrect

When translating rand(), the type of the returned value is incorrect in some cases. Initially found by translating sanity.ex demo.


Type: Bug Report Severity: Normal Category: Translator
Assigned To: mattlewis Status: Fixed Reported Release:
Fixed in SVN #: 4719, 4720 View VCS: 4719, 4720 Milestone: 4.0.0

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.


Quick Links

User menu

Not signed in.

Misc Menu