Steve Harris <S.W.Harris@email-addr-hidden>:
> http://plugin.org.uk/libgdither/
Me being noisy all the time I still don't know the maths of making
noise. Would you care to explain the rationale in this snippet from
noise.h?
inline static float gdither_noise()
{
static uint32_t rnd = 23232323;
rnd = (rnd * 196314165) + 907633515;
return rnd * 2.3283064365387e-10f;
}
The 64bit fixes have rnd left over as the last uint32_t. Is this on
purpose?
Thanks in advance, Wolfgang
Received on Tue Jul 26 00:15:06 2005
This archive was generated by hypermail 2.1.8 : Tue Jul 26 2005 - 00:15:07 EEST