clojure.lang.Numbers.LongOps.negateP C# (CSharp) Method

negateP() public method

public negateP ( object x ) : object
x object
return object
            public object negateP(object x)
            {
                long val = Util.ConvertToLong(x);

                if (val > Int64.MinValue)
                    return num(-val);
                return BigInt.fromBigInteger(-BigInteger.Create(val));
            }