Online Java Compiler By
JavaTpoint.com
public class PowExample3 { public static void main(String[] args) { double x = -765; double y = 0.7; //return NaN System.out.println(Math.pow(x, y)); } }
Output