© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
28 replies
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?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ Why does this code always return False?
C#CC# / help
3y ago
❔ why does the output return 0
C#CC# / help
3y ago
❔ why this function isnt trrigering
C#CC# / help
3y ago
why does this Not work?
C#CC# / help
3y ago