Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

60 is easier to factor, but that's kind of irrelevant when most AC formulas use frequency as a multiplicator. 0.02 is easier to multiply than 0.016667 (though at the end of the day, it doesnt really matter, because pi is used in most of the equations, so it ends up irrational anyway)


Pi (and e) are not only irrational numbers (not fractions) but also transcendental numbers (non-algebraic numbers meaning not roots of polynomials with rational coefficients).

So, even messier for dealing with than, say, square root of two (irrational and algebraic) or square root of minus one (algebraic).


> 60 is easier to factor, but that's kind of irrelevant when most AC formulas use frequency as a multiplicator.

Is the fact there are 360˚ (2π radians) in a circle, and 60 goes into that cleanly, of any use?


No really, because functions like sin(), cos() and tan() are defined numerically for "expecting Pi as input" rather than 360 degrees of angle.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: