octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #48307] sinc loses precision for large argumen


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #48307] sinc loses precision for large arguments
Date: Mon, 27 Jun 2016 07:51:29 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #8, bug #48307 (project octave):

wrt comment #5, pi*10000000 in double precision differs from the exact value
about 3e-8. Even if sin would be able to exactly perform the modulo operation,
evaluating sin(pi*10000000) would correspond to evaluate sin(3e-8). The result
we get, about 6e-10, is even better. For comparison, both Matlab and gfortran
give the same results.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48307>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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