Deutsch   English   Français   Italiano  
<vfb1op$22ocr$1@dont-email.me>

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

Path: ...!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: Wed, 23 Oct 2024 14:38:17 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <vfb1op$22ocr$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 23 Oct 2024 16:38:17 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="aa0df79af36b71d5a575bc8cc74d8a85";
	logging-data="2187675"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/FU76iq4feXH07xowDgInR"
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
 git.gnome.org/pan2)
Cancel-Lock: sha1:skZJoJrO02H6XZIPIEgLh1BXtpY=
Bytes: 1819

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.

-- 
steve