bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] More of a feature request than a bug fix


From: Sergey Poznyakoff
Subject: Re: [bug-inetutils] More of a feature request than a bug fix
Date: Wed, 15 Jan 2003 17:01:39 +0200

> Since a sqrt() function was needed, obviously it needed it so why not
> use a sane sqrt() fucntion like the one in libm?

Well, it does not need any excessive precision, so why depend on
mathematical library just to compute the three significant digits
of a square root? On the other hand, the Newton's method is very
simple, wide-known and requires very few iterations, so it is
a perfect replacement for that particular purpose.

> But how does it resolve the hostname? Does it use libnss? If so then I
> suspect that libresolv gets pulled in at a later stage too.
> 

I should have said 'libresolv is not *always* needed'.
Libicmp uses gethostbyname, which may or may not require libnss or
libresolve. For example, the glibc implementation does not
require any additional libraries. On other systems, it will
require libnss.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]