View Single Post
  #7   Spotlight this post!  
Unread 03-02-2006, 11:39
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,082
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Problem With Math.h

Well my first comment (question actually) would be, why could you possibly need asin()??? I'm assuming this is for range estimation, in which case atan() makes more sense, to me at least.

Secondly, CORDIC can by design do asin() - you need to slightly modify the code to get it to work, however.

Use the identity:
asin(x) = atan(x/sqrt(1-x*x))