help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sine and cosine functions


From: Jordi Gutiérrez Hermoso
Subject: Re: Sine and cosine functions
Date: Thu, 2 May 2013 10:58:04 -0400

On 1 May 2013 19:55, André Pereira <address@hidden> wrote:
> If I ask for the value of cos(pi) it returns -1, however if I ask for the
> value of sin(pi) it returns a value with an order of magnitude of -17.

    http://wiki.octave.org/FAQ#Why_is_this_floating_point_computation_wrong.3F

- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]