Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.fortran Subject: Re: Angle Units For Trig Functions Date: Wed, 23 Oct 2024 00:57:23 -0000 (UTC) Organization: A noiseless patient Spider Lines: 16 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 23 Oct 2024 02:57:23 +0200 (CEST) Injection-Info: dont-email.me; posting-host="270654f4a32da50415a28540f0889946"; logging-data="1812899"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bbtERWurNBM/AJXd/3KGc" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:5P/BR6Tk5c2NAgvfuN+PxRyD+4g= Bytes: 1552 On Tue, 22 Oct 2024 18:14:14 -0600, Louis Krupp wrote: > On 10/21/2024 10:26 PM, Lawrence D'Oliveiro wrote: > >> On Sun, 20 Oct 2024 05:35:25 -0000 (UTC), Steven G. Kargl wrote: >> >>> % gfcx -o z a.f90 && ./z 0.500000000 0.500089288 >>> >>> One of these values is exact, and one of these raises FE_INEXACT. >> >> Does it work for 29° and 31° as well? What’s so special about 30°? > > https://en.wikipedia.org/wiki/Niven%27s_theorem So a whole set of extra functions, just to get a nice result for one value?