??? 09/12/07 08:14 Read: times |
#144435 - random float ?? Responding to: ???'s previous message |
So it suffices to call xtea(&key) to use the cipher as prng.
If I want a float range [0.0,1.0] numbers, what should I do ? Should I divide by 2^64-1 ? |
??? 09/12/07 08:14 Read: times |
#144435 - random float ?? Responding to: ???'s previous message |
So it suffices to call xtea(&key) to use the cipher as prng.
If I want a float range [0.0,1.0] numbers, what should I do ? Should I divide by 2^64-1 ? |