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

◆ Asin()

static Complex System.Numerics.Complex.Asin ( Complex value)
inlinestatic

Definition at line 379 of file Complex.cs.

380 {
381 Asin_Internal(Math.Abs(value.Real), Math.Abs(value.Imaginary), out var b, out var bPrime, out var v);
382 double num = ((!(bPrime < 0.0)) ? Math.Atan(bPrime) : Math.Asin(b));
383 if (value.Real < 0.0)
384 {
385 num = 0.0 - num;
386 }
387 if (value.Imaginary < 0.0)
388 {
389 v = 0.0 - v;
390 }
391 return new Complex(num, v);
392 }
Complex(double real, double imaginary)
Definition Complex.cs:38
static void Asin_Internal(double x, double y, out double b, out double bPrime, out double v)
Definition Complex.cs:452

References System.Numerics.Complex.Complex(), System.Math.Abs(), System.Math.Asin(), System.Numerics.Complex.Asin_Internal(), System.Math.Atan(), and System.value.