21 references to Log
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\TensorOperation.cs (1)
1264destination = T.Log(x);
System\Numerics\Tensors\netcore\TensorPrimitives.Log.cs (1)
103public static T Invoke(T x) => T.Log(x);
System.Private.CoreLib (11)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
903/// <inheritdoc cref="ILogarithmicFunctions{TSelf}.Log(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1647/// <inheritdoc cref="ILogarithmicFunctions{TSelf}.Log(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
1253/// <inheritdoc cref="ILogarithmicFunctions{TSelf}.Log(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (1)
1012/// <inheritdoc cref="ILogarithmicFunctions{TSelf}.Log(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (1)
1023/// <inheritdoc cref="ILogarithmicFunctions{TSelf}.Log(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (1)
1016/// <inheritdoc cref="ILogarithmicFunctions{TSelf}.Log(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\ILogarithmicFunctions.cs (1)
26static virtual TSelf LogP1(TSelf x) => TSelf.Log(x + TSelf.One);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (1)
2277T value = T.Log(vector.GetElementUnsafe(index));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1145/// <inheritdoc cref="ILogarithmicFunctions{TSelf}.Log(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (1)
2672T value = T.Log(vector.GetElementUnsafe(index));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
898/// <inheritdoc cref="ILogarithmicFunctions{TSelf}.Log(TSelf)" />
System.Runtime.Numerics (8)
System\Numerics\Complex.Generic.cs (8)
33private static readonly T s_inverseOfLog10 = T.One / T.Log(T.CreateChecked(10)); 42private static readonly T s_log2 = T.Log(T.CreateChecked(2)); 386return x * T.Log(xp1) / (xp1 - T.One); 390return T.Log(xp1); 875v = s_log2 + T.Log(big) + Log1P(ratio * ratio) / T.CreateChecked(2); 926v = T.Log(a + T.Sqrt((a - T.One) * (a + T.One))); 939return new Complex<T>(T.Log(Abs(value)), T.Atan2(value.m_imaginary, value.m_real)); 1114T newRho = powerReal * theta + powerImaginary * T.Log(rho);