This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Reading and writing GSL random number generators
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