© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
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#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
❔ Why does this code always return False?
C
C# / help
3y ago
❔ why does the output return 0
C
C# / help
3y ago
❔ why this function isnt trrigering
C
C# / help
3y ago
why does this Not work?
C
C# / help
3y ago