Saturday, April 25, 2009

Help me on pow Domain Error

Hi Friends
I am Trying to plot the polar plot of nyquist path in c
But at pow function it shows domain error
can any tell how to over come from it at run time
i mean what is the error handling code
please help me if any one know about it.

answer1:
If base is negative and exponent is not an integral value, or if base is zero and exponent is negative, a domain error occurs.

Again Question:
I have already cheked for that and valuues of varriable i.e. base & exp not like that but it shows the error .is any other way to handel this at run time.

Any One Who Knows The answer Please comment here

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.