Relative Content

Tag Archive for numbers

Generate unique integer from two integers with algorithm

I am currently trying to come up with an algoritm which would take at least two numbers
(say user IDs) and then come up with an unique number which is generated based on these two numbers. Each integer can be as big as an INT(11) in a Database (a number with 11 digits)

Generate unique integer from two integers with algorithm

I am currently trying to come up with an algoritm which would take at least two numbers
(say user IDs) and then come up with an unique number which is generated based on these two numbers. Each integer can be as big as an INT(11) in a Database (a number with 11 digits)

Generate random numbers with certain spikes? [duplicate]

This question already has an answer here: Unevenly distributed random number generation [duplicate] (1 answer) Closed 9 years ago. I am trying to generate random numbers to simulate steering wheel angles and velocities of a car. So for steering wheels the random numbers could go like 1,2,4,6,4,3,40,0. I can generate random numbers but the problem […]