tool.hpp
Go to the documentation of this file.
1 
7 #include <etk/types.hpp>
8 
9 #pragma once
10 
11 namespace etk {
16  namespace tool {
23  double frand(double _a, double _b);
30  int32_t irand(int32_t _a, int32_t _b);
34  void resetRandom();
39  void randSeek(int32_t _val);
40  }
41 }
42 
void randSeek(int32_t _val)
Reset the random system with The specify value.
basic namespace of the etk library. (it might contain all the etk fuctions/class/structures without m...
Definition: Archive.hpp:16
int32_t irand(int32_t _a, int32_t _b)
Get a random value in a specific range in integer.
void resetRandom()
Reset the random system with a random value (time).
double frand(double _a, double _b)
Get a random value in a specific range in float.