The test case with **n** = INT_MIN and **x** between 0 to 1 is not considered.

My answer is accepted with this if condition at the beginning

```
if ( n == INT_MIN){
if (x==1.0 || x== -1.0){
return 1.0;
}
else{
return 0.0;
}
}
```

which is incorrect. Please add a test case.