Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2009-08-13 09:00:37 +0000 (Thu, 13 Aug 2009)
Replace rand() function with plrand() provided by plplot.
--- trunk/examples/d/x17d.d 2009-08-12 21:24:48 UTC (rev 10234)
+++ trunk/examples/d/x17d.d 2009-08-13 09:00:37 UTC (rev 10235)
@@ -100,7 +100,7 @@
// todo: usleep?
// todo: poll?
t = n*dt;
- noise = (rand()/(RAND_MAX+1.0))-0.5;
+ noise = plrandd() - 0.5;
y1 += noise;
y2 = sin(t*PI/18.);
y3 = y2*noise;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Sign up for the SourceForge newsletter: