Mail Archives: djgpp/1999/03/04/08:52:53
On Thu, 4 Mar 1999, Martin Ambuhl wrote:
> > It's much better to use library function `hypot' to do this. (Hint:
> > try the above with v.x = v.y = 1.e160 or v.x = v.y = 1.e-160.)
>
> But you we note that nothing in my post was non-standard C, while
> hypot() is.
`hypot' is non-ANSI, but every library out there has it. (Btw, `hypot'
is in libc.a, too, not only in libm.a.)
> Also note that my post was an answer to a beginner's math question.
There's no reason beginners shouldn't know about library functions.
I didn't try to say that your message was wrong in any way, I was just
adding to an otherwise informative posting. There's no need to justify
your message, since I wasn't attacking it.
- Raw text -