Re: Tough problem...
- From: Eric Grange <egrangeNO@xxxxxxxxxxxxxxx>
- Date: Tue, 27 Jun 2006 23:06:48 +0200
If you pass a large argument to sin or cos, the
result is not accurate.
As others explicited, this is to be expected...
The solution is not to pass a large argument in the first place, which can often be achieved if you're dealing with a "physical" problem (in opposition to "mathematical" problem). The "how" will depend on the problem, and can range from separating values (number of rotations + angle instead of an absolute angle) to transforming the math (using trigonometric formulas, quaternions, etc.), using a converging series or introducing a well chosen approximation.
Eric
.
- Follow-Ups:
- Re: Tough problem...
- From: Atmapuri
- Re: Tough problem...
- References:
- Tough problem...
- From: Atmapuri
- Tough problem...
- Prev by Date: Re: Tough problem...
- Next by Date: Re: Tough problem...
- Previous by thread: Re: Tough problem...
- Next by thread: Re: Tough problem...
- Index(es):