digitalmars.D.learn - uniform()
- Jun (2/2) Jan 06 2011 Does anyone knows how can I set the boundary of uniform()?
- Simen kjaeraas (6/8) Jan 06 2011 The documentation seems a bit weird on uniform, yes.
Does anyone knows how can I set the boundary of uniform()? I got an error with "uniform("[]", 0, 10);"
Jan 06 2011
Jun <blings naver.com> wrote:Does anyone knows how can I set the boundary of uniform()? I got an error with "uniform("[]", 0, 10);"The documentation seems a bit weird on uniform, yes. The correct way is: uniform!"[]"( 0, 10 ) -- Simen
Jan 06 2011