- fixed problems

- updated .gitignore
This commit is contained in:
2025-08-03 17:04:57 +02:00
parent c0e651bf68
commit 26c3ee4cb6
8 changed files with 12 additions and 13 deletions
+1 -6
View File
@@ -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 Schrages method.
// flows by Schrages method.
if (*idum < 0)
*idum += PM_IM;
-2
View File
@@ -1,9 +1,7 @@
// --------------------------------------------------------------
// --------------------------------------------------------------
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include "synth_defs.h"