C#C
C#2y ago
Paradoxial

Why does this function return NaN?

Hi, I am writing a Sin function in C#, the function uses the taylor series algorithm to calculate the sine of a given angle. However, when given the angle, it returns NaN. Reason as to why?
Was this page helpful?