delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/13/20:30:32

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: cos(90 * (PI / 180) = 6.12......?
Date: Thu, 13 May 1999 19:48:54 -0400
Organization: BrunNet
Lines: 19
Message-ID: <373B64E5.837A73DA@unb.ca>
References: <926562032 DOT 737 DOT 64 AT news DOT remarQ DOT com>
NNTP-Posting-Host: ftnts3c15.brunnet.net
Mime-Version: 1.0
X-Mailer: Mozilla 4.51 [en] (Win95; U)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Shaggs wrote:

> wtf is up with this, all my other cosine values seem to be normal, but this
> comes up (although i havent checked 270).

    Well, if we add the 2nd close bracket, on my machine, the value come out as
"0.00000".  What kind of processor do you have?  Are you using the floating
point emulator?

    cos(90 * (PI / 180)) = 0.000000

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT HotMail DOT com
          ICQ: 32959047



- Raw text -


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