Deutsch English Français Italiano |
<vf7jce$1cp1g$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Steven G. Kargl" <sgk@REMOVEtroutmask.apl.washington.edu> Newsgroups: comp.lang.fortran Subject: Re: Angle Units For Trig Functions Date: Tue, 22 Oct 2024 07:14:22 -0000 (UTC) Organization: A noiseless patient Spider Lines: 17 Message-ID: <vf7jce$1cp1g$1@dont-email.me> References: <vf1ug0$8qpm$1@dont-email.me> <vf24qs$9mgr$1@dont-email.me> <vf79ii$1b5gt$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 22 Oct 2024 09:14:23 +0200 (CEST) Injection-Info: dont-email.me; posting-host="e5caaa143ba9b71b0e80f7b37ddb77bb"; logging-data="1467440"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qJoE3avlmHSN7XSxq6iqz" User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2) Cancel-Lock: sha1:nuH+OGfhRKaDGU2V+W1CGs6K+ec= Bytes: 1618 On Tue, 22 Oct 2024 04:26:59 +0000, 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°? Really? This is high school trig. For units of degree, mathematically sin(30) = 1/2, exactly!. sin(30+n*360) = 1/2 is also exact. -- steve