Posted By

NihilistDandy on 02/05/11


Tagged


Versions (?)

Pi Approximation


 / Published in: Haskell
 

GHC already has pi' built in, but I wanted to compare values.(this snippet) == pi' returns `True'.

  1. (176 * atan (1 / 57) + 28 * atan (1 / 239) - 48 * atan (1 / 682) + 96 * atan (1 / 12943))

Report this snippet  

You need to login to post a comment.