Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ c_log
Method
c_log
libraries/Complex/complex.cpp:163–169 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
161
162
163
Complex Complex::c_log() const
164
{
165
float m = modulus();
166
float p = phase();
167
if (p > PI) p -= 2 * PI;
168
return Complex(log(m), p);
169
}
170
171
172
Complex Complex::c_pow(const Complex &c) const
Callers
6
c_logn
Method · 0.80
gonioHelper1
Method · 0.80
c_atan
Method · 0.80
gonioHelper2
Method · 0.80
c_atanh
Method · 0.80
unittest
Function · 0.80
Calls
1
Complex
Class · 0.85
Tested by
1
unittest
Function · 0.64