You've already forked linux-packaging-mono
Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
@ -300,6 +300,10 @@ namespace System.Numerics {
|
||||
}
|
||||
public static Complex Asin(Complex value) /* Arcsin */
|
||||
{
|
||||
if ((value.m_imaginary == 0 && value.m_real < 0) || value.m_imaginary > 0)
|
||||
{
|
||||
return -Asin(-value);
|
||||
}
|
||||
return (-ImaginaryOne) * Log(ImaginaryOne * value + Sqrt(One - value * value));
|
||||
}
|
||||
|
||||
@ -318,6 +322,10 @@ namespace System.Numerics {
|
||||
}
|
||||
public static Complex Acos(Complex value) /* Arccos */
|
||||
{
|
||||
if ((value.m_imaginary == 0 && value.m_real > 0) || value.m_imaginary < 0)
|
||||
{
|
||||
return System.Math.PI - Acos(-value);
|
||||
}
|
||||
return (-ImaginaryOne) * Log(value + ImaginaryOne*Sqrt(One - (value * value)));
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user