Here you can find the source of pow(int leftOp, int rightOp)
public static int pow(int leftOp, int rightOp)
//package com.java2s; //License from project: Apache License public class Main { public static int pow(int leftOp, int rightOp) { return (int) Math.pow(leftOp, rightOp); }//from w ww. j av a 2s. c o m public static float pow(float leftOp, float rightOp) { return (float) Math.pow(leftOp, rightOp); } }