delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/15/18:23:32

Message-ID: <37DFD832.DFD9BAB1@helawann.de>
From: Hela Wann <hela AT helawann DOT de>
X-Mailer: Mozilla 4.6 [de]C-pi 2.1.0.0 (Win95; I)
X-Accept-Language: de
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Problem with asin()
Date: Wed, 15 Sep 1999 19:32:34 +0200
NNTP-Posting-Host: 62.52.138.119
X-Trace: news2.cityweb.de 937416871 62.52.138.119 (Wed, 15 Sep 1999 19:34:31 MET DST)
NNTP-Posting-Date: Wed, 15 Sep 1999 19:34:31 MET DST
Lines: 13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have to calculate an angle with asin()

why do i not receive the correct value of 44,7°???
in borland the return value is limited to -pi/e - +pi/2, why????

The code line is:

dx = asin(alpha/s);

Thanks for your help!!!

Hela Wann

- Raw text -


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