19 references to IsPositive
System.Data.Common (19)
System\Data\SQLTypes\SQLDecimal.cs (15)
968if (IsPositive) 1140return IsPositive ? dRet : -dRet; 1153return new decimal((int)_data1, (int)_data2, (int)_data3, !IsPositive, _bScale); 1210s.SetSignBit(!s.IsPositive); 1242fMySignPos = x.IsPositive; 1243fOpSignPos = y.IsPositive; 1471fResPositive = (x.IsPositive == y.IsPositive); //positive if both signs same. 1681fResSignPos = (x.IsPositive == y.IsPositive); //sign of result 2788Sign1 = IsPositive ? 1 : -1; 2789Sign2 = snumOp.IsPositive ? 1 : -1; 3106if (fFraction && n.IsPositive) 3134if (fFraction && !n.IsPositive) 3157(n.IsPositive ? new SqlInt32(1) : new SqlInt32(-1));
System\Data\SQLTypes\SQLInt32.cs (1)
262if (!x.IsPositive)
System\Data\SQLTypes\SQLInt64.cs (2)
315if (dwl > SqlDecimal.s_llMax && (ssnumTemp.IsPositive || dwl != 1 + SqlDecimal.s_llMax)) 324if (!ssnumTemp.IsPositive)
System\Data\SQLTypes\SQLMoney.cs (1)
88bool fPositive = snum.IsPositive;