• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Yet more random number woes!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Yet more random number woes!


  • Subject: Re: Yet more random number woes!
  • From: Darkshadow <email@hidden>
  • Date: Sat, 12 Jun 2004 22:44:42 -0400

On Jun 12, 2004, at 8:18 PM, April Gendill wrote:

AHH! I'm ripping my hair out.
ok.. I finally got it to where my random number generator generates the same numbers in the same sequence every time for any given seed. but if I switch from 10.3.4 to 10.2.3 the results are COMPLETELY different which leads me to believe that the results are different on every computer on the planet. this is a huge problem. Is there a way to lock down the results so that I get the same number on all machines?

Thanks
April.


Um...I don't have a solution, but doesn't this go against the idea of random numbers? If you're trying to get the same set of numbers, couldn't you just use the same set?

I'm not all that surprised that the random number generator would come up with different sets of numbers on different machines/OS versions. Since the whole idea is to come up with random numbers, there's probably not a whole lot of testing to see if the same seed would generate the same sets...

Darkshadow (sometimes known as Mike Nickerson)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Yet more random number woes!
      • From: email@hidden (Tim Ramsey)
References: 
 >Yet more random number woes! (From: April Gendill <email@hidden>)

  • Prev by Date: BIG Numbers
  • Next by Date: using SystemConfiguration framework
  • Previous by thread: Yet more random number woes!
  • Next by thread: Re: Yet more random number woes!
  • Index(es):
    • Date
    • Thread