The golden function is the upper branch of the hyperbola.
gold = (x + sqr(x^2 + 4)) / 2
return ($x + sqrt($x^2 + 4)) / 2;
Sorry if this is not exciting stuff. I've got some better stuff coming, but I want to clear out some older stuff that has been waiting a while.