what is the seed of the number [Resolved]

Posted by Yugandhar under Others on 8/22/2012 | Points: 10 | Views : 865 | Status : [Member] | Replies : 7
what is the seed of the number
plz give some exmples

thanks in advance.




Responses

Posted by: Muhsinathk on: 9/17/2012 [Member] Bronze | Points: 50

Up
0
Down

Resolved
Seed Numbers

1)Seed Numbers are used to find if a given number is divisible by a prime number. Although the concept is not used often, for some number, the divisibility rules cannot be applied and seed numbers come in handy there. This means that when you give the same seed, the function always gives the same outputs in the same order.

2)

Here's an example of a simple random-number formula

int rand() { random_seed = random_seed * 1103515245 +12345;
return (unsigned int)(random_seed / 65536) % 32768; }

Yugandhar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Megan00 on: 8/22/2012 [Member] Starter | Points: 25

Up
0
Down
Can you tell me in detail , what kind of number, random number or others?

Never give up! Smile to the world!
http://excelcsharp.blog.com/

Yugandhar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Yugandhar on: 8/23/2012 [Member] Starter | Points: 25

Up
0
Down
for random numbers
and others also

Yugandhar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhsinathk on: 9/17/2012 [Member] Bronze | Points: 25

Up
0
Down
Please mark as answer if it helpful to you.. That helps others who sarch the same..

Yugandhar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 9/17/2012 [Member] Starter | Points: 25

Up
0
Down
Good Job Muhsi

Thanks & Regards
Hari

Yugandhar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vikash on: 9/17/2012 [Member] Starter | Points: 25

Up
0
Down
The random function is more likely a pseudo random function generating outputs with a certain distribution (uniform, gaussian, ...).
This means that when you give the same seed, the function always gives the same outputs in the same order.

The seed is the thing which makes it "random". Time, ticks since startup, a sequence on the keyboard (with pauses between keystrokes), ... can generate a +- random seed. Another seed generates another random sequence.

Please mark as answer if it is helpful to you.. That helps others who sarch the same..

Regards,
Vikash Pathak

Yugandhar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 9/17/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

i think if u need this see this image below
 Download source file

Mark as Answer if its helpful to you

Yugandhar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response