public static bool IsPositive(LSign sign) { return (sign == LSign.Positive); }
public SLongIntD(LongIntBase FromLongNumber, LSign lSign, ConstructorMode mode) : this(FromLongNumber, mode) { sign = lSign; }
public SLongIntD(LongIntDecimal From, LSign lSign, ConstructorMode mode) : base(From, mode) { sign = lSign; }
public SLongIntD(uint MaxSize, LSign lSign) : this(MaxSize) { sign = lSign; }
public SLongIntD(string s) : base(s) { if (s[0] == '-') sign = LSign.Negative; }
public SLongIntD(SLongIntD From) : base((LongIntDecimal)From) { sign = From.sign; }
public void ChangeSign() { if (sign == LSign.Negative) sign = LSign.Positive; else sign = LSign.Negative; }
public SLongIntD(long number, uint MaxSize) : base((ulong)((number < 0) ? (-number) : number), MaxSize) { if (number < 0) sign = LSign.Negative; }