Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: x === x Date: Thu, 01 Jun 2017 01:58:45 +0100 Organization: A noiseless patient Spider Lines: 22 Message-ID: <87bmq8y14q.fsf@bsb.me.uk> References: <2563985.e9J7NaK4W3@PointedEars.de> <42992d96-86e3-4224-b011-5cb32f610a83@googlegroups.com> <1566693.VLH7GnMWUR@PointedEars.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="b8cfcc8b3b6248419b3e2a0831823cf6"; logging-data="25362"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Dm6uuP7nx1Y6sw0JWVGnsCRE8hZzaH1c=" Cancel-Lock: sha1:C7jLiGX3tw/MPvMEcltDjVYmEKo= sha1:UO43eTeltfpYEN2tErFqncZMxhU= X-BSB-Auth: 1.045b4a6c2acc7679fbff.20170601015845BST.87bmq8y14q.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:33463 Thomas 'PointedEars' Lahn writes: > Stefan Ram wrote: > >> Dr J R Stockton writes: >>>An ordinary computer design provides no source of true randomness, >> >> What is "true randomness"? > > Uniform distribution of results independent of a start value (seed). A very simple function can generate numbers with a uniform distribution that is independent of any seed. For example, a function producing 1, 1, 1... meets that definition. If you want some variation, so does, 1, 2, 3, 1, 2, 3, 1, 2, 3... I don't know of an uncontroversial and universally agreed-upon definition, so I won't try to offer one. -- Ben.