This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug or feature?



> Hi,
> please give me a hint:
> Is this a bug or a feature:
> The pow funcion doesn't reset errno to 0, if all is o.k.

This is the standard way that errno functions; it is never reset
(other than that it is zero when your program starts).  If you
want it to reset, you must do it yourself.  It's done this way
so that you don't lose errors.

But you aren't getting pow from the egcs team; you are getting it
from libc5, so even if it were a bug egcs is not the place to
complain to.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]