I am in the process of converting a program which was originally written in gwbasic into c. when i am using the pow function i get a an error message saying "domain error" can anybody help me
I am in the process of converting a program which was originally written in gwbasic into c. when i am using the pow function i get a an error message saying "domain error" can anybody help me
There's a domain error if base is zero and exp is less than or equal to zero. There's also a domain error if base is negative and exp is not an integer.