[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.8666034 [View]
File: 153 KB, 804x385, jive punk.jpg [View same] [iqdb] [saucenao] [google]
8666034

For shits and giggles I decided to make a recursive Fibonacci/golden ratio thing in Codeblocks. But as you see, even with long doubles, its output is only up to 5 decimal places. Why is this and how do I fix it?

Also just to see what would happen if I changed the initial values, I noticed that it converges on theta no matter what you choose. Crazy.

Navigation
View posts[+24][+48][+96]