<< Previous | Next >>

randg

float randg( void );

Description

Returns a gaussian-distributed random number in the range -16.0 v < 16.0 with a standard deviation of approximately 2.6. The distribution is made by adding 16 random numbers (see rand()). This function is not task reentrant.

Return value

A gaussian distributed random number: -16.0 v <16.0.

Library

MATH.LIB

See also

rand, randb, srand


Dynamic C Functions << Previous | Next >> rabbit.com