BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

arcCos

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM
View previous topic :: View next topic  
Author Message
Hanford Carr
Guest





PostPosted: Thu Mar 10, 2005 3:51 pm    Post subject: arcCos Reply with quote



Hi

Just went to fastcode home page and looked at arcCos challenge. The
range is incorrect. The arcCos of a negative number is not between
-PI/2 and PI/2, it is between PI/2 and PI. The range should be 0 to
PI.

Cheers Hanford
Back to top
Dennis
Guest





PostPosted: Thu Mar 10, 2005 5:21 pm    Post subject: Re: arcCos Reply with quote



Hi Hanford

Quote:
Just went to fastcode home page and looked at arcCos challenge. The
range is incorrect. The arcCos of a negative number is not between
-PI/2 and PI/2, it is between PI/2 and PI. The range should be 0 to
PI.

You are talking about the description text?

Quote:
Cheers Hanford

Regards
Dennis



Back to top
Hanford Carr
Guest





PostPosted: Thu Mar 10, 2005 6:15 pm    Post subject: Re: arcCos Reply with quote



Dennis wrote:
Quote:

snip
You are talking about the description text?

Cheers Hanford

Regards
Dennis

Yes, following is the description from the Fastcode Project ArcCos
Challenge section.

"ArcCos Challenge
The objective is to build the fastest replacement for RTL ArcCos.

ArcCos returns the inverse cosine of X. X must be between -1 and 1.
The
return
value will be in the range [-Pi/2..Pi/2], in radians.

There are three overloaded functions differing in the input and output
datatype."

Hanford

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.