18 for ( i = 1; i <= n; i++ )
48 int i4_huge = 2147483647;
55 *seed = 16807 * ( *seed - k * 127773 ) - k * 2836;
60 *seed = *seed + i4_huge;
63 r = *seed & 0x0000FFFF;
fixedpt fixedpt_sqrt(fixedpt A)
fixedpt get_uniform_fixed(int *seed)
fixedpt fixedpt_ln(fixedpt x)
static const uint32_t k[]
#define fixedpt_add(A, B)
fixedpt fixedpt_exp(fixedpt fp)
fixedpt fixedpt_mul(fixedpt A, fixedpt B)
fixedpt fixedpt_sin(fixedpt fp)
fixedpt fixedpt_div(fixedpt A, fixedpt B)
fixedpt asset_path_fixed_simplified(fixedpt s0, fixedpt mu, fixedpt sigma, fixedpt t1, int n, int *seed)
fixedpt fixedpt_cos(fixedpt A)
void get_two_normal_fixed(int *seed, fixedpt *n1, fixedpt *n2)
#define fixedpt_sub(A, B)