9 fixedpt gaussR1 = 0, gaussR2 = 0;
19 for ( i = 1; i <= n; i++ )
50 int i4_huge = 2147483647;
57 *seed = 16807 * ( *seed - k * 127773 ) - k * 2836;
62 *seed = *seed + i4_huge;
65 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)
float float3 __attribute__((vector_size(16)))
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)