- fixed problems
- updated .gitignore
This commit is contained in:
+1
-6
@@ -1,12 +1,7 @@
|
||||
// --------------------------------------------------------------
|
||||
// --------------------------------------------------------------
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "synth_defs.h"
|
||||
#include "noise.h"
|
||||
|
||||
// --------------------------------------------------------------
|
||||
@@ -31,7 +26,7 @@ double ran0(long *idum)
|
||||
*idum ^= PM_MASK; // XORing with MASKallows use of zero and other
|
||||
k=(*idum)/PM_IQ; // simple bit patterns for idum.
|
||||
*idum=PM_IA*(*idum-k*PM_IQ)-PM_IR *k; // Compute idum=(IA*idum) % IM without over-
|
||||
// flows by Schrage’s method.
|
||||
// flows by Schrage�s method.
|
||||
if (*idum < 0)
|
||||
*idum += PM_IM;
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
// --------------------------------------------------------------
|
||||
// --------------------------------------------------------------
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "synth_defs.h"
|
||||
|
||||
Reference in New Issue
Block a user