Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Neil Newsgroups: comp.lang.fortran Subject: Re: Angle Units For Trig Functions Date: Wed, 23 Oct 2024 21:21:41 -0000 (UTC) Organization: A noiseless patient Spider Lines: 23 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 23 Oct 2024 23:21:41 +0200 (CEST) Injection-Info: dont-email.me; posting-host="94112943e048d14f336493924efe0846"; logging-data="2395591"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185ItYNbtVDR/ILh/kaozuQ" User-Agent: tin/2.6.4-20240224 ("Banff") (Linux/6.8.0-47-generic (x86_64)) Cancel-Lock: sha1:eoic9sm2n66dLyRB7VxOuLfTlRE= Bytes: 1988 Steven G. Kargl wrote: > On Wed, 23 Oct 2024 06:25:02 +0000, Lawrence D'Oliveiro wrote: > >> On Wed, 23 Oct 2024 07:59:24 +0200, R Daneel Olivaw wrote: >> >>> Lawrence D'Oliveiro wrote: >>> >>>> On Wed, 23 Oct 2024 04:06:26 -0000 (UTC), David Jones wrote: >>>> >>>>> Did you take a high school trigonometry class? >>>> >>>> You seem obsessed with that. >> >> So your favourite functions return an exact result for sin 30°. Do they >> return an exact result for cos 30° as well? >> > > Nope. For REAL x, COSD(x) returns an exact result for all N >= 0 > that satisfies 60+N*360 < 2**23. > Could you give an example of where sind and cosd might be of use in a piece of numerical software?