src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.Transcendental.cs (10)
542return Log1pDecimalIeee754<TDecimal, TValue>(x, LogBase.E);
550return Log1pDecimalIeee754<TDecimal, TValue>(x, LogBase.Two);
558return Log1pDecimalIeee754<TDecimal, TValue>(x, LogBase.Ten);
569private static TValue Log1pDecimalIeee754<TDecimal, TValue>(TValue x, LogBase logBase)
599LogBase.Two => result * 1.4426950408889634, // 1 / ln(2)
600LogBase.Ten => result * 0.4342944819032518, // 1 / ln(10)
635LogBase.Two => DiyFp128Log2(onePlus),
636LogBase.Ten => DiyFp128Log10(onePlus),
645LogBase.Two => DiyFp128Log2P1(argument),
646LogBase.Ten => DiyFp128Log10P1(argument),