Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricLengyel/Terathon-Math-Library
/ operator /
Function
operator /
TSDualNum.h:197–201 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
195
}
196
197
DualNum operator /(const DualNum& d1, const DualNum& d2)
198
{
199
float b = 1.0F / d2.t;
200
return (DualNum((d1.s - d2.s * d1.t * b) * b, d1.t * b));
201
}
202
203
DualNum operator /(const DualNum& d, float b)
204
{
Callers
nothing calls this directly
Calls
1
DualNum
Class · 0.85
Tested by
no test coverage detected