Deutsch   English   Français   Italiano  
<vfbpd3$293e7$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Neil <nddtwentyone@gmail.com>
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: <vfbpd3$293e7$1@dont-email.me>
References: <vf1ug0$8qpm$1@dont-email.me> <vf24qs$9mgr$1@dont-email.me> <vf79ii$1b5gt$1@dont-email.me> <pdXRO.88119$7OO5.22734@fx43.iad> <vf9hli$1nad3$4@dont-email.me> <vf9so2$1sngk$1@dont-email.me> <vf9upp$1sv6o$2@dont-email.me> <vfa3bs$31imq$1@paganini.bofh.team> <vfa4ru$1tujv$2@dont-email.me> <vfb1op$22ocr$1@dont-email.me>
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 <sgk@removetroutmask.apl.washington.edu> 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?