openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.84k stars 2.56k forks source link

ofSignedNoise(float x) always returns zero #7948

Open neilmendoza opened 1 month ago

neilmendoza commented 1 month ago

Output of below is always 0.

for (unsigned i = 0; i < 100; ++i)
{
    cout << ofSignedNoise(10 * i) << endl;
}