OROCHI
 
Loading...
Searching...
No Matches
GxRandom.h File Reference

乱数クラス More...

#include <limits.h>
Include dependency graph for GxRandom.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GxRandom
 乱数クラス More...
 
class  GxRandomMersenneTwister
 メルセンヌツイスター乱数クラス More...
 

Macros

#define GX_DRAND()
 
#define GX_FRAND()
 
#define GX_FRAND_MIN_MAX(min, max)
 
#define GX_RAND()
 
#define GX_SET_RANDOM_SEED(seed)
 

Detailed Description

乱数クラス

Author
Copyright (C)2009 SiliconStudio Inc. All rights reserved.
Tahir Arai

Macro Definition Documentation

◆ GX_DRAND

#define GX_DRAND ( )
Value:
GX_FORCE_INLINE f64 getRandomF64(void)
乱数生成(64bit浮動少数)
Definition GxRandom.h:48
static GxThread * getCurrentThread(void)
カレントスレッドを取得
Definition GxThread.cpp:505
constexpr GxRandom * getRandomGenerator(void) const
乱数発生器を取得
Definition GxThread.h:259

◆ GX_FRAND

#define GX_FRAND ( )
Value:
GX_FORCE_INLINE f32 getRandomF32(void)
乱数生成(32bit浮動少数)
Definition GxRandom.h:44

◆ GX_FRAND_MIN_MAX

#define GX_FRAND_MIN_MAX ( min,
max )

◆ GX_RAND

#define GX_RAND ( )
Value:
virtual u32 getRandomU32(void)=0
乱数生成(整数)

◆ GX_SET_RANDOM_SEED

#define GX_SET_RANDOM_SEED ( seed)
Value:
virtual void initialize(u32 seed)=0
初期化