Re: Why isn't math universal?

From: Dave Rooney (rooney_at_adi.com)
Date: 09/01/04


Date: Wed, 01 Sep 2004 13:36:18 -0400


Thomas Magma wrote:

> Hi,
>
> 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? I need to sin() large numbers. Any suggestions?
>
> Am I the only one that thinks that C, C++, and the MS foundation classes are
> a mess, and should be abolished?
>
> Thomas
>
Why not use sin( x % TWO_PI ); where TWO_PI is 6.283185..... assuming
x is in radians?



Relevant Pages

  • Re: Why isnt math universal?
    ... Thomas Magma wrote: ... > Apparently EVC has a problem with the sin() of large numbers. ... Even if all the snow were burnt, ashes would remain. ...
    (comp.arch.embedded)
  • Re: Why isnt math universal?
    ... >Thomas Magma 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 sinof large numbers. ... I need to sin() large numbers. ...
    (comp.arch.embedded)
  • Why isnt math universal?
    ... 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. ...
    (microsoft.public.pocketpc.developer)
  • Why isnt math universal?
    ... 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. ...
    (comp.arch.embedded)
  • Re: Why isnt math universal?
    ... Are you suggesting that sin= ... > Thomas Magma wrote: ... >> Apparently EVC has a problem with the sinof large numbers. ... I need to sin() large numbers. ...
    (comp.arch.embedded)