Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricLengyel/Terathon-Math-Library
/ Sin
Function
Sin
TSDualNum.h:313–319 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
311
}
312
313
DualNum Sin(const DualNum& d)
314
{
315
float x, y;
316
317
CosSin(d.s, &x, &y);
318
return (DualNum(y, d.t * x));
319
}
320
321
DualNum Cos(const DualNum& d)
322
{
Callers
nothing calls this directly
Calls
2
CosSin
Function · 0.85
DualNum
Class · 0.85
Tested by
no test coverage detected