www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/04/08:52:53

Date: Thu, 4 Mar 1999 15:24:01 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Ambuhl <mambuhl AT earthlink DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: angle
In-Reply-To: <36DE7472.D4C12F22@earthlink.net>
Message-ID: <Pine.SUN.3.91.990304152017.14045D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019