Re: Why isn't math universal?
From: Thomas Magma (somewhere_at_overtherainbow.com)
Date: 09/01/04
- Next message: Thomas Magma: "Re: Why isn't math universal?"
- Previous message: Thomas Magma: "Re: Why isn't math universal?"
- In reply to: Hans-Bernhard Broeker: "Re: Why isn't math universal?"
- Next in thread: Thomas Magma: "Re: Why isn't math universal?"
- Reply: Thomas Magma: "Re: Why isn't math universal?"
- Reply: Hans-Bernhard Broeker: "Re: Why isn't math universal?"
- Reply: Dave Hansen: "Re: Why isn't math universal?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 01 Sep 2004 18:09:26 GMT
Well it's giving me the old -1.#IND00 at around sin(220000000.0). Shouldn't
the sin of any real number (double) equal something real? Java doesn't have
a problem with this.
"Hans-Bernhard Broeker" <broeker@physik.rwth-aachen.de> wrote in message
news:2pmh1jFmkd0fU2@uni-berlin.de...
> Thomas Magma <somewhere@overtherainbow.com> wrote:
>
> > I just wrote some DSP code in Java and ported it over to EVC for a PDA.
> > Apparently EVC has a problem with the sin() of large numbers. What's up
with
> > this?
>
> Quite impossible to tell, until you specify what "large" is supposed
> to mean, in this context. From the point of view of the sine
> function, an argument of 100 may already appear somewhat large, and an
> argument in anywhere outside the range of +/- 1/DBL_EPSILON will mean
> there's nothing left to salvage.
>
> > I need to sin() large numbers. Any suggestions?
>
> Double-check your needs. Carefully.
>
> --
> Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de)
> Even if all the snow were burnt, ashes would remain.
- Next message: Thomas Magma: "Re: Why isn't math universal?"
- Previous message: Thomas Magma: "Re: Why isn't math universal?"
- In reply to: Hans-Bernhard Broeker: "Re: Why isn't math universal?"
- Next in thread: Thomas Magma: "Re: Why isn't math universal?"
- Reply: Thomas Magma: "Re: Why isn't math universal?"
- Reply: Hans-Bernhard Broeker: "Re: Why isn't math universal?"
- Reply: Dave Hansen: "Re: Why isn't math universal?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|