This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug or feature?
- To: martin dot kahlert at mchp dot siemens dot de (Martin Kahlert)
- Subject: Re: Bug or feature?
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Wed, 4 Nov 98 9:04:53 PST
- Cc: egcs at cygnus dot com
> 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.