diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -22,10 +22,3 @@ maximum (float x, float y) { return ((x) > (y) ? (x) : (y)); } - -float -symmDistr() -{ //returns number in range [-1, 1] with bias towards 0, symmetric about 0. - float x = 2*randf(1)-1; - return x*(1-cbrt(1-fabsf(x))); -} |