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?


> > The pow funcion doesn't reset errno to 0, if all is o.k.

> It is not an egcs question.
> 
> 1. The math library in libc 5 doesn't handle errno very well.
> 2. In glibc 2, you have to disable inline math to get errno right.

Um, errno is not supposed to be reset to 0 on success!  This is
the correct behavior.




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