I am trying to implement a basic pelin noise function, but I have some problem with the integer to noise function used to generate deterministic noise from integer inputs.the function I am trying to implement is defined there:
http://libnoise.sourceforge.net/noisegen/index.html#continuousnoise