This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [Patch/libstdc++]: libmath/stubs.c (hypot) - Don't divide by zero.


Danny Smith <danny_r_smith_2001@yahoo.co.nz> writes:

| I saw this while browsing sources.  I supspect that most ports have their own
| hypot so this has not been noticed.
| This allows the libstdc++ stub version of hypot(0.0, 0.0) to return correct value. 
| 

This is OK for both mainline and branch.

-- Gaby


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