Deutsch   English   Français   Italiano  
<vfbsvo$29lon$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: "Steven G. Kargl" <sgk@REMOVEtroutmask.apl.washington.edu>
Newsgroups: comp.lang.fortran
Subject: Re: Angle Units For Trig Functions
Date: Wed, 23 Oct 2024 22:22:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <vfbsvo$29lon$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>
	<vfbpd3$293e7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 24 Oct 2024 00:22:49 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4a76defd948a71589b5b93a90dbaf84d";
	logging-data="2414359"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/EaTU2D9pwMRmKW3f8+yFq"
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
 git.gnome.org/pan2)
Cancel-Lock: sha1:uiql2r9BcDYZe6U8cslOmjVh5vU=
Bytes: 2401

On Wed, 23 Oct 2024 21:21:41 +0000, Neil wrote:

> 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?

I don't use degree trig functions in my codes. Conversion of lat/long
to UTM may be a place one might use sind and/or cosd.  Seattle is
at 47.6061° N, 122.3328° W.  I've never seen someone refer to the
location as 0.83088 N, 2.13511 W.

-- 
steve