Reading and writing GSL random number generators

Brian Gough bjg@network-theory.co.uk
Thu May 29 10:17:00 GMT 2003


Olaf Lenz writes:
 > Hi again!
 > The code I produced definitely needs some revision, I just noticed
 > I've done some serious error in the size handling.
 > What type is best to use when you really need one byte (i.e. 8
 > bit)?  Is and will char always be 8 bit?

The code looks useful.  For practical purposes you can assume that 1
char=8 bits.  If you add a test of the functions to the test program
this would catch any platforms where it wasn't true.

Brian



More information about the Gsl-discuss mailing list