fork download
  1. #include <math.h>
  2. #include <stdio.h>
  3. #include <errno.h>
  4.  
  5. int main() {
  6.  
  7. pow(0, 0);
  8. printf( "errno=%d\n", errno );
  9.  
  10. pow(-1, -0.5);
  11. printf( "errno=%d\n", errno );
  12. }
  13.  
  14.  
Success #stdin #stdout 0s 2160KB
stdin
Standard input is empty
stdout
errno=0
errno=33