|
-
May 5th, 2008, 07:01 PM
#1
random doubles
Hello,
I read this to generate double random value; but it assumes we are using .NET ( RAND_MAX, I mean). I'd like write a code that can compile on other platform; what can I do? Furthermore: I need a range -0.5 and 0.5; so I set Min = -0.5 and Max 0.5; I hope the negative Min won't get surprises...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|