#ifndef __UTILS_H_INCLUDED__ #define __UTILS_H_INCLUDED__ #define PI 3.14159265358979323846 void swapInt(int *a, int *b); void swapFloat(float *a, float *b); int random(int x); float randomf(float x); int smod(int val, int mod); double sdes(double val); double sfmod(double val, double mod); #endif