Random numbers

For other topics related to the FreeBASIC project or its community.
dafhi
Posts: 1238
Joined: Jun 04, 2005 9:51

Re: Random numbers

Postby dafhi » Jun 05, 2018 8:27

Lucky you :-) An improved diet is the only thing that helps me. Coffee ice cream is been holding me back atm.
dodicat
Posts: 5691
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: Random numbers

Postby dodicat » Jun 05, 2018 10:58

Hi dafhi
I would say that
x ^= x shr 18
should be
x xor = (x shr 18)
in your code.
Anyway, great to see random numbers and cryptology morph into quaint philosophy almost instantaneously.
I do literally hate those in between bits.
deltarho[1859]
Posts: 1739
Joined: Jan 02, 2017 0:34
Location: UK

Re: Random numbers

Postby deltarho[1859] » Jun 05, 2018 13:58

@dodicat

Morphing is instantaneous. There is no daylight between not morphing and morphing.

Quaint philosophy? The interaction between opposite sexes is deadly serious. I have exercised some flippancy in the past with near fatal consequences. I am very lucky to be alive. <smile>

Added: Removed my attempt at x ^= x shr 18, it was wrong.
Last edited by deltarho[1859] on Jun 05, 2018 20:59, edited 1 time in total.
dafhi
Posts: 1238
Joined: Jun 04, 2005 9:51

Re: Random numbers

Postby dafhi » Jun 05, 2018 15:32

dodicat that totally fixed it.

deltarho the allergy bit .. i don't know. i'm sure having a hard time going vegan. universe keeps waving things like mashed potatoes, authentic italian pizza, other things. too lazy to attempt the vegan versions. this pizza i may have to attempt someday
deltarho[1859]
Posts: 1739
Joined: Jan 02, 2017 0:34
Location: UK

Re: Random numbers

Postby deltarho[1859] » Jun 05, 2018 19:44

dafhi wrote:i'm sure having a hard time going vegan

I wouldn't even try - it is unnatural.

The source of a high percentage of our aliments is inflammation and many people eat far too much inflammatory foods. Check out Inflammation. It is a natural process but if it gets out of hand we get into trouble. Check out 11 Food Rules For The Ultimate Anti-Inflammatory Diet. It is a long read but a very good one.
dafhi
Posts: 1238
Joined: Jun 04, 2005 9:51

Re: Random numbers

Postby dafhi » Jun 05, 2018 21:59

deltarho[1859] wrote:
dafhi wrote:i'm sure having a hard time going vegan

I wouldn't even try - it is unnatural.

I've been vegetarian for a little more than 10 years. Eggs trash me. I discovered that honey does this also. Universe been telling me I'm not fully ready. Like I said, if it wasn't for coffee ice cream (and the odd want of a slice of gourmet cheese), I'm basically vegan

Return to “Community Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest