#include<math.h>#define p(a) cpow(a,1./a) #include <stdio.h> int main(void) { printf("%f",p(-2)); return 0;}
Standard input is empty
0.000000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!