Re: Angle Units For Trig Functions

Liste des GroupesRevenir à cl fortran 
Sujet : Re: Angle Units For Trig Functions
De : sgk (at) *nospam* REMOVEtroutmask.apl.washington.edu (Steven G. Kargl)
Groupes : comp.lang.fortran
Date : 24. Oct 2024, 06:06:37
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vfckkt$2gojm$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2)
On Thu, 24 Oct 2024 04:47:06 +0000, Lawrence D'Oliveiro wrote:

On Thu, 24 Oct 2024 02:17:15 -0000 (UTC), Steven G. Kargl wrote:
 
One of these values is wrong.
 
Only if you assume the input numbers were somehow “exact” or “perfect” to
begin with.
 
There’s an old principle in computing: “Garbage In, Garbage Out”.

People discussing Fortran normally use floating point math when
computing sin(x) or any other function of a "real" quantity.

 
You seem to be missing that argument reduction for sind(x)
is much easier than argument reduction for sin(x).
 
But that only worked for one angle, and for nothing else.

ROFL.

For sin(x), argument reduction will give sin(0) = 0, exactly.
That's one angle.

For sind(x), argument reduction will give sind(x) = 0, exactly,
for countable many angles.

--
steve


Date Sujet#  Auteur
20 Oct 24 * Angle Units For Trig Functions26Lawrence D'Oliveiro
20 Oct 24 +- Re: Angle Units For Trig Functions1yeti
20 Oct 24 `* Re: Angle Units For Trig Functions24Steven G. Kargl
22 Oct 24  `* Re: Angle Units For Trig Functions23Lawrence D'Oliveiro
22 Oct 24   +* Re: Angle Units For Trig Functions5Steven G. Kargl
22 Oct 24   i`* Re: Angle Units For Trig Functions4Lawrence D'Oliveiro
23 Oct 24   i `* Re: Angle Units For Trig Functions3Steven G. Kargl
23 Oct 24   i  `* Re: Angle Units For Trig Functions2Lawrence D'Oliveiro
23 Oct 24   i   `- Re: Angle Units For Trig Functions1Steven G. Kargl
23 Oct 24   `* Re: Angle Units For Trig Functions17Lawrence D'Oliveiro
23 Oct 24    `* Re: Angle Units For Trig Functions16David Jones
23 Oct 24     `* Re: Angle Units For Trig Functions15Lawrence D'Oliveiro
23 Oct 24      `* Re: Angle Units For Trig Functions14R Daneel Olivaw
23 Oct 24       `* Re: Angle Units For Trig Functions13Lawrence D'Oliveiro
23 Oct 24        `* Re: Angle Units For Trig Functions12Steven G. Kargl
23 Oct 24         `* Re: Angle Units For Trig Functions11Neil
24 Oct 24          +- Re: Angle Units For Trig Functions1Steven G. Kargl
24 Oct 24          +* Re: Angle Units For Trig Functions8Lawrence D'Oliveiro
24 Oct 24          i+* Re: Angle Units For Trig Functions6Steven G. Kargl
24 Oct 24          ii`* Re: Angle Units For Trig Functions5Lawrence D'Oliveiro
24 Oct 24          ii `* Re: Angle Units For Trig Functions4Steven G. Kargl
24 Oct 24          ii  `* Re: Angle Units For Trig Functions3Lawrence D'Oliveiro
24 Oct 24          ii   `* Re: Angle Units For Trig Functions2Steven G. Kargl
24 Oct 24          ii    `- Re: Angle Units For Trig Functions1Lawrence D'Oliveiro
24 Oct 24          i`- Re: Angle Units For Trig Functions1Lawrence D'Oliveiro
24 Oct 24          `- Re: Angle Units For Trig Functions1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal