cvs.gedasymbols.org/archives/browse.cgi | search |
Sender: | nate AT cartsys DOT com |
Message-ID: | <36D9C2CF.D2D7B398@cartsys.com> |
Date: | Sun, 28 Feb 1999 14:27:27 -0800 |
From: | Nate Eldredge <nate AT cartsys DOT com> |
X-Mailer: | Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586) |
MIME-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
Subject: | Re: sin, cos ?? |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 990228192203 DOT 27709A-100000 AT is> |
Reply-To: | djgpp AT delorie DOT com |
Eli Zaretskii wrote: > > On Sun, 28 Feb 1999, Paul Derbyshire wrote: > > > const long double pi = 4*atan(1); > > It won't work in C, and calling a function instead of using a manifest > constant seems like a waste. ... not to mention the possibility for roundoff error, especially since `atan' calculates only in `double' precision. -- Nate Eldredge nate AT cartsys DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |