• 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: Random Number
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Random Number


  • Subject: Re: Random Number
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 28 Feb 2002 20:09:43 +0100

Shaun,

>>>>>> Shaun Chu (SC) wrote at Thu, 28 Feb 2002 13:27:37 -0500:
SC> Sorry if this sounds like a dumb question, but how do I get a truly
SC> random number in Cocoa?

Depends on what you call "truly". The standard way is random (see man
random), but I would not use it for a serious statistics ;)

If you need a good random stream, you have to go outside of Cocoa to generic
libraries, I fear.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: Random Number
      • From: Steven Rogers <email@hidden>
References: 
 >Random Number (From: Shaun Chu <email@hidden>)

  • Prev by Date: Re: help system
  • Next by Date: Re: Two basic questions
  • Previous by thread: Re: Random Number
  • Next by thread: Re: Random Number
  • Index(es):
    • Date
    • Thread