Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Log1P()

static double System.Numerics.Complex.Log1P ( double x)
inlinestaticprivate

Definition at line 272 of file Complex.cs.

273 {
274 double num = 1.0 + x;
275 if (num == 1.0)
276 {
277 return x;
278 }
279 if (x < 0.75)
280 {
281 return x * Math.Log(num) / (num - 1.0);
282 }
283 return Math.Log(num);
284 }

References System.Math.Log().

Referenced by System.Numerics.Complex.Asin_Internal().