In reply to perumallatarun:
VCS, Questasim and NCsim are mostly LRM Compliant and doesnt allow rand real. Iam not sure of iRun. They might have allowed real numbers to get randomized. If you really want to randomize real numbers, then check this links