I am looking for C code to obtain 4 quasi-random number between 0.
and 1. per sample.
Right now, I use the good old
seed = seed * 1103515245 + 12345;
and I divise by 4294967296.0
but is is cycle consuming...
Is there a good place to find some help on this? I do not care that
much if the random is pure or not, I just want some good number
Does it worth me having an altivec call for 4 randoms (if such a
I have an intuition that I could avoid the division by casting
somehow, but I am not sure...
Any help welcome, even sending me to a funky manual ;-)