Re: Tough problem...
- From: "Atmapuri" <janez.makovsek@xxxxxxx>
- Date: Wed, 28 Jun 2006 05:37:48 +0200
Hi!
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.
This situation occurs in FFT, when the length of the FFT goes in to
million of points. The sin and cos functions become inaccurate when
the i in sin(i*arg) goes in to millions.
Thanks!
Atmapuri
.
- Follow-Ups:
- Re: Tough problem...
- From: Lord Crc
- Re: Tough problem...
- From: Eric Grange
- Re: Tough problem...
- From: Avatar Zondertau
- Re: Tough problem...
- References:
- Tough problem...
- From: Atmapuri
- Re: Tough problem...
- From: Eric Grange
- 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):
Relevant Pages
|