To generate random numbers in Haskell, one typically uses the random package, which is part of the Haskell Platform.
random
Haskell uses the round, ceiling, floor, and truncate functions from the Prelude for rounding operations.
round
ceiling
floor
truncate
Prelude
Haskell handles complex numbers with the Data.Complex module.
Data.Complex