www.pudn.com > opengpssim.zip > boxmuller.h


/* boxmuller.h 
 
  Implements the Polar form of the Box-Muller Transformation 
 
  (c) Copyright 1994, Everett F. Carter Jr. 
      Permission is granted by the author to use 
      this software for any application provided this 
      copyright notice is preserved. 
*/ 
 
/* ------------------------------ prototypes ------------------------------ */ 
 
 
 
inline static float ranf( void); 
float randn( float m, float s); 
double randndbl( double m, double s);