Surprisingly the old school calcul is faster than the c code you can find on the internet