Random Floating Point Numbers

This is a discussion on Random Floating Point Numbers within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by Khadafi Thanks. So for where it says 10000 can i put any number to make the range ...

  1. #16
    Registered User
    Join Date
    Aug 2010
    Location
    Poland
    Posts
    682
    Quote Originally Posted by Khadafi View Post
    Thanks.

    So for where it says 10000 can i put any number to make the range greater?.
    Also i was wondering if it is possible to create minus values randomly.

    Thanks.
    What about trying it out? You have already been given a couple of examples, you should do something on your own now.
    I never put signature, but I decided to make an exception.

  2. #17
    Registered User
    Join Date
    Nov 2010
    Posts
    55
    Okay, thanks. I got it working .

    Thanks.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. random numbers
    By mesmer in forum C Programming
    Replies: 4
    Last Post: 10-24-2008, 01:22 PM
  2. Testing Floating Point Return Values
    By jason_m in forum C Programming
    Replies: 5
    Last Post: 08-15-2008, 01:37 PM
  3. floating point binary program, need help
    By ph34r me in forum C Programming
    Replies: 4
    Last Post: 11-10-2004, 06:10 AM
  4. floating point operators
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 10-22-2003, 07:53 PM
  5. fixed point / floating point
    By confuted in forum Game Programming
    Replies: 4
    Last Post: 08-13-2002, 01:25 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21