Program Listing for File utility.h¶
↰ Return to documentation for file (src/utility.h
)
#ifndef UTILITY_H
#define UTILITY_H
#include <stdint.h>
namespace PixelMaestro {
class Utility {
public:
static uint32_t abs_int(int32_t val);
static int32_t rand(int32_t max = 0);
static void srand(int32_t seed);
private:
static int32_t seed_;
};
}
#endif // UTILITY_H