Package org.boris.expr.function.excel

Examples of org.boris.expr.function.excel.POWER


        assertEquals(eval(p), Math.PI);
        assertException("pi(23)");
    }

    public void testPOWER() throws Exception {
        POWER p = new POWER();
        for (int i = 0; i < 100; i++) {
            double d1 = Math.random() * 100;
            double d2 = Math.random() * 5 - Math.random() * 5;
            assertEquals(eval(p, d1, d2), Math.pow(d1, d2));
        }
View Full Code Here

TOP

Related Classes of org.boris.expr.function.excel.POWER

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.