this post was submitted on 16 Feb 2022
40 points (93.5% liked)

Programmer Humor

33322 readers
685 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 3 years ago
ghci> φ = (1 + sqrt 5) / 2
ghci> ψ =  1 - φ
ghci> fib n = (φ ** n - ψ ** n) / (sqrt 5)