Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #11868
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: Getting random numbers. |
| Date | 2021-01-21 16:38 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <ruc76j$f3l$1@dont-email.me> (permalink) |
| References | <33e7892e-fe91-4440-9843-515c88da309an@googlegroups.com> <i6tknsFvfeU1@mid.individual.net> |
On 21/01/2021 16:25, Tavis Ormandy wrote: > On 2021-01-21, H E <rob99999999999999999@gmail.com> wrote: >> var i01=i^1.914643966346+i^1.260774037134; > > I realise you're probably not going to listen to me, but it seems like > you think ^ is the exponentiation operator, it's actually bitwise xor. > That isn't defined for floats - so they're just truncated (that means > everything after the decimal point is discarded). > > You can try ** or Math.pow instead, but I really think you should read > about the diehard tests or TestU01 first to understand how PRNGs are > evaluated. > > Tavis. > You might as well give up. He's an idiot who thinks he is a genius - he doesn't even begin to understand how wrong he is on almost everything he writes. Some people have suggested he is a troll - he's not that clever. Like Amine, he is completely disconnected from reality. He can't program. He doesn't know what you mean by "operator". He doesn't know what "random" means, or what speed means in programming - yet he thinks he can make a better and faster random function than anyone else. I've tried being patient, I've tried explanations, help, sample code, and information. I am a big fan of trying to help beginners at programming (and helping experts - none of us is infallible or knows everything in the field), but like Amine, this guy is beyond the kind of help we can give him. He needs a good kick up the backside, and being banned from the internet until he has finished his homework, and his mummy has checked the posts he makes.
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 07:11 -0800
Re: Getting random numbers. Tavis Ormandy <taviso@gmail.com> - 2021-01-21 15:25 +0000
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-21 16:38 +0100
Re: Getting random numbers. Tavis Ormandy <taviso@gmail.com> - 2021-01-21 16:37 +0000
Re: Getting random numbers. chovy <chovy@pm.me> - 2021-01-21 08:37 -0800
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-21 18:00 +0100
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 09:29 -0800
Re: Getting random numbers. Tavis Ormandy <taviso@gmail.com> - 2021-01-21 18:02 +0000
Re: Getting random numbers. chovy <chovy@pm.me> - 2021-01-21 10:11 -0800
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 10:21 -0800
Re: Getting random numbers. Tavis Ormandy <taviso@gmail.com> - 2021-01-21 18:39 +0000
Re: Getting random numbers. Richard Heathfield <rjh@cpax.org.uk> - 2021-01-22 06:32 +0000
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-22 08:51 +0100
Re: Getting random numbers. Richard Heathfield <rjh@cpax.org.uk> - 2021-01-22 09:15 +0000
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-22 11:13 +0100
Re: Getting random numbers. Richard Heathfield <rjh@cpax.org.uk> - 2021-01-23 09:27 +0000
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-23 12:28 +0100
Re: Getting random numbers. Richard Heathfield <rjh@cpax.org.uk> - 2021-01-23 12:10 +0000
Re: Getting random numbers. chovy <chovy@pm.me> - 2021-01-21 10:11 -0800
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-21 20:55 +0100
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 13:08 -0800
Re: Getting random numbers. chovy <chovy@pm.me> - 2021-01-21 13:53 -0800
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-21 22:53 +0100
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 13:57 -0800
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 15:13 -0800
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 15:20 -0800
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 20:39 -0800
csiph-web