/* L-6 MCS 572 Mon 23 Jan 2012 : sprng_hello.c
 * In the simple use of SPRNG the user does not initialize and SPRNG
 * automatically initializes a stream with default seed and parameter
 * the first time sprng() is called.  We always see the same number. */

#include <stdio.h>

#define SIMPLE_SPRNG /* simple interface */
#include "sprng.h"

int main ( void )
{
   printf("hello SPRNG...\n");
   double r = sprng();
   printf("a random double: %.15lf\n",r);
   return 0;
}

