Date: Thu, 4 Mar 1999 15:24:01 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Ambuhl cc: djgpp AT delorie DOT com Subject: Re: angle In-Reply-To: <36DE7472.D4C12F22@earthlink.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.