This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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

Re: this seems to lost (complex norm, abs)


Gabriel Dos Reis wrote:
> 
> Levente Farkas <lfarkas@mindmaker.hu> writes:
> 
> | I would use hypot which probably more "advanced" in most case (i.e.
> 
> The problem is that a user solution is not always a library solution
> (and this is an instance of such situations).

I _realy_ thankful for your advice in general and neither I would
like to criticize anybody who contribute to libstdc++ with my original email.
And it's not university lecture, but would you explain me the above
sentence with two or three additional sentence. I assume stdc++
use standard math functions from libc, so why we cant use hypot here?
since stdc++ already check and use hypot (eg. in libmath/stubs.c).
thanks.

 -- Levente                        http://petition.eurolinux.org/index_html
    "The only thing worse than not knowing the truth is
     ruining the bliss of ignorance."


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