Implementing cosine in C from scratch | Hacker News Reader