This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch/libstdc++]: libmath/stubs.c (hypot) - Don't divide by zero.
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: 20 May 2003 23:02:01 +0200
- Subject: Re: [Patch/libstdc++]: libmath/stubs.c (hypot) - Don't divide by zero.
- Organization: Integrable Solutions
- References: <20030520205800.79035.qmail@web21407.mail.yahoo.com>
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