11 references to VarDecCmp
System.Private.CoreLib (11)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (11)
410return DecCalc.VarDecCmp(in d1, in d2); 427return DecCalc.VarDecCmp(in this, in other); 432return DecCalc.VarDecCmp(in this, in value); 1009public static bool operator <(decimal d1, decimal d2) => DecCalc.VarDecCmp(in d1, in d2) < 0; 1012public static bool operator <=(decimal d1, decimal d2) => DecCalc.VarDecCmp(in d1, in d2) <= 0; 1015public static bool operator >(decimal d1, decimal d2) => DecCalc.VarDecCmp(in d1, in d2) > 0; 1018public static bool operator >=(decimal d1, decimal d2) => DecCalc.VarDecCmp(in d1, in d2) >= 0; 1247return DecCalc.VarDecCmp(in x, in y) >= 0 ? x : y; 1256return DecCalc.VarDecCmp(in x, in y) < 0 ? x : y; 1425int c = DecCalc.VarDecCmp(Abs(x), Abs(y)); 1446int c = DecCalc.VarDecCmp(Abs(x), Abs(y));