www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/18/15:49:29

Message-Id: <199812182049.UAA18680@remus>
From: "Arthur" <arfa AT clara DOT net>
To: <djgpp AT delorie DOT com>
Subject: RE: sin() and cos() ???
Date: Fri, 18 Dec 1998 20:48:02 -0000
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
In-Reply-To: <001f01be2a0f$f3170240$48f8c6c3@johans-dator>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Importance: Normal
Reply-To: djgpp AT delorie DOT com

> And another thing; I where
> also fooled to
> belive that units ment radians, not degrees. Maybe someone should
> update the
> help before more people come and fall into this pit?

It is generally assumed in both mathematics and computing that an angle is
measured in radians unless otherwise stated. I think all programming
languages work that way, although some have an "angle mode" which can be set
to degrees by default.

Besides, it already covered in the documentation. The following text is
taken from "info libm":

`sin' and `cos' compute (respectively) the sine and cosine of the
argument X.  Angles are specified in radians.

James Arthur - jaa AT arfa DOT clara DOT net
http://www.jado.org/users/arfa/
ICQ#15054819


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019