Michdd Posted October 8, 2009 Share Posted October 8, 2009 I'm trying to figure out a simple way to input numbers not varying much but have the output be highly variating. So even though the numbers being input might be close to each other I want the output to highly different, but still in the rank of 0, 255. I've tried a few things but the only things I can think of return something directly related to the input. Link to comment https://forums.phpfreaks.com/topic/177016-simple-math/ Share on other sites More sharing options...
Mark Baker Posted October 8, 2009 Share Posted October 8, 2009 Input X and Y Output = pow(X,Y) or pow(Y,-X) Link to comment https://forums.phpfreaks.com/topic/177016-simple-math/#findComment-933340 Share on other sites More sharing options...
Mchl Posted October 8, 2009 Share Posted October 8, 2009 Input X and Y Output = pow(X,Y) or pow(Y,-X) modulo 255 Link to comment https://forums.phpfreaks.com/topic/177016-simple-math/#findComment-933349 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.