File: mt.h

package info (click to toggle)
vor 0.5.7-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,284 kB
  • ctags: 400
  • sloc: ansic: 2,222; sh: 345; makefile: 112
file content (11 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#ifndef VOR_MT_H
#define VOR_MT_H

#include <inttypes.h>

void init_mt(uint32_t s);
uint32_t urnd(void); // [0, 0xfffffff]
float frnd(void);  // [0, 1)
float crnd(void);  // [-0.5, 0.5)

#endif // VOR_MT_H