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

Gabriel Dos Reis gdr@integrable-solutions.net
Tue May 20 21:02:00 GMT 2003


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



More information about the Libstdc++ mailing list