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

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

[Octave-bug-tracker] [bug #64361] sinc() return NaN on sinc(-1:0.20:1-0.


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #64361] sinc() return NaN on sinc(-1:0.20:1-0.20) expression
Date: Thu, 29 Jun 2023 00:28:30 -0400 (EDT)

Follow-up Comment #18, bug #64361 (project octave):

Looks the same.

octave:2> format long
octave:3> x = (-1:0.2:0.2)
x =

   -1.000000000000000   -0.800000000000000   -0.600000000000000  
-0.400000000000000   -0.200000000000000    0.000000000000000   
0.200000000000000

octave:4> x = [x]
x =

 Columns 1 through 6:

  -1.000000000000000e+00  -8.000000000000000e-01  -6.000000000000000e-01 
-4.000000000000000e-01  -2.000000000000000e-01   5.551115123125783e-17

 Column 7:

   2.000000000000000e-01

octave:5> 


Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64361>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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