Ejemplo n.º 1
0
        //******************** Static Math Functions *******************

        /// <summary>
        /// Returns the integer component of the input
        /// </summary>
        /// <param name="n1">The input number</param>
        /// <remarks>The integer component returned will always be numerically closer to zero
        /// than the input: an input of -3.49 for instance would produce a value of 3.</remarks>
        public static BigFloat Floor(BigFloat n1)
        {
            BigFloat res = new BigFloat(n1);
            n1.Floor();
            return n1;
        }