#include "dkcMath.h"
dkcMath.cのインクルード依存関係図
マクロ定義 | |
#define | DKUTIL_C_MATH_C |
関数 | |
void WINAPI | dkcSrand (ULONG *seed, ULONG num) |
int WINAPI | dkcRand (ULONG *seed) |
int WINAPI | dkcRandom (ULONG *seed, ULONG Max_) |
File: fastmath.cpp
This file is provided without support, instruction, or implied warranty of any kind. NVIDIA makes no guarantee of its fitness for a particular purpose and is not liable under any circumstances for any damages or loss whatsoever arising from the use or inability to use this file or items derived from it.
Comments:
dkcMath.c で定義されています。
マクロ定義
|
|
|
参照元 dkcRandom().
00036 { 00037 (*seed) = (*seed) * 1103515245L + 12345; 00038 return (unsigned)((*seed) / 65536L) % 32768U; 00039 } |
|
参照先 dkcRand(). 参照元 dkcRandomV().
00042 { 00043 return dkcRand(seed) * (Max_ ) / SHRT_MAX; 00044 } |
|
00031 { 00032 *seed = num; 00033 } |