Re: random integer
CBFalconer said:
osmium wrote:
"Gene" writes:
But note that standard rand() is a very bad random number
generator.
There is no such thing as a standard rand(); something that does
not exist can not be either good or bad. Each vendor is allowed
to include whatever he thinks appropriate to the library that goes
with his compiler.
Er - See N869:
....which merely specifies the interface, not the implementation. It
*suggests* an implementation but does not mandate it.
There is no such thing as a standard rand().
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
.
Relevant Pages
- Re: Fortran 77 parser
... The Cray machines were built with 64-bit floating point in mind. ... routines, it was standard practice. ... I don't think COCO is supported by a single fortran vendor that I ... (comp.lang.fortran) - Re: SecurID and FreeS/WAN GW
... It'd be possible with any web browser and a standard IP ... non-standard hack by a vendor? ... other internet protocols --- else the web browsing block is awfully ... no more problem for this hack than for a vendor's; ... (Focus-Linux) - Re: how to pass arguments to a fortran77 program from de command line?
... >> Because it is a vendor problem instead of a standard problem... ... It just doesn't work for the standard to require that the processor not ... that's not the error unit mentioned in the standard; ... (comp.lang.fortran) - Re: Prodcuing an output file only on Friday?
... (even though one vendor makes it so), ... It is not me that does not list it as a 'successful completion' code, ... Standard, it *MUST* be a DIGIT. ... The aim isn't to punish non-conformity by making the program fail at ... (comp.lang.cobol) - Re: Linux in a binary world... a doomsday scenario
... The underlying organzation may be equally guilty but that doens't make the hardware vendor innocent - simply he plays the same game just with an excuse. ... Don't sound like a standard to me - a standard is something known, ... If the proprietary nvidia driver went open source, it still wouldn't work with competing cards - the hw is too different. ... (Linux-Kernel) |
|