r1005: Increase the number of displayed digits for resample audio dialog box
[cinelerra_cv/mob.git] / guicast / workarounds.h
blob6a06ead1b169dcb0e65de7745990ffa28cefb4b5
1 #ifndef WORKAROUNDS_H
2 #define WORKAROUNDS_H
4 #include <stdint.h>
6 class Workarounds
8 public:
9 Workarounds() {};
10 ~Workarounds() {};
12 static void copy_int(int &a, int &b);
13 static void copy_double(double *a, double b);
14 static double divide_double(double a, double b);
15 static void clamp(int32_t &x, int32_t y, int32_t z);
16 static void clamp(int64_t &x, int64_t y, int64_t z);
17 static void clamp(float &x, float y, float z);
18 static void clamp(double &x, double y, double z);
19 static float pow(float x, float y);
22 #endif