00001 #ifndef WORKAROUNDS_H
00002 #define WORKAROUNDS_H
00003
00004 #include <stdint.h>
00005
00006 class Workarounds
00007 {
00008 public:
00009 Workarounds() {};
00010 ~Workarounds() {};
00011
00012 static void copy_int(int &a, int &b);
00013 static void copy_double(double *a, double b);
00014 static double divide_double(double a, double b);
00015 static void clamp(int32_t &x, int32_t y, int32_t z);
00016 static void clamp(int64_t &x, int64_t y, int64_t z);
00017 static void clamp(float &x, float y, float z);
00018 static void clamp(double &x, double y, double z);
00019 static float pow(float x, float y);
00020 };
00021
00022 #endif