The Golden Ratio by uru

package
main
import."bignum"func
main(){a,b:=Nat(5),Nat(8);for b.Pop()<999{a,b=b,a.Add(b)}print("1.",a.Mul(Nat(10).Pow(499)).Div(b).String())}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page