The Standard LibrarymathMethodspowOn this pagepowComputes exponentiation (x raised to y). pow(8, 2); //64 Syntax pow(x, y) Returns The computed value as a double.