Include the gold number as constant

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Psychophanta
Addict
Addict
Posts: 4958
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
Contact:

Include the gold number as constant

Post by Psychophanta »

(1+Sqr(5))/2
#fi=1.6180339887498949
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
#NULL
Addict
Addict
Posts: 1440
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: Include the gold number as constant

Post by #NULL »

Gold number is something different. What you want is called the golden ratio, lowercase letter φ (phi). In Spanish it seems to be called número áureo, that's probably why you called it gold number. :)
User avatar
Psychophanta
Addict
Addict
Posts: 4958
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
Contact:

Re: Include the gold number as constant

Post by Psychophanta »

Ok, the fault of it is from english language, which calls "water melon" (melón de agua) to the "sandía" :lol:
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
Post Reply