bugGNU Octave - Bugs: bug #57838, The cos function is returning...

 
 

bug #57838: The cos function is returning wrong values at few parameters.

Submitted by:  Gurjeet Singh <gurjeet>
Submitted on:  Mon 17 Feb 2020 04:14:07 PM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Invalid Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  5.2.0 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 17 Feb 2020 04:50:22 PM UTC, comment #1: 
Dmitri A. Sergatskov <dasergatskov>
Mon 17 Feb 2020 04:14:07 PM UTC, original submission:  

'cos' is a built-in function from the file libinterp/corefcn/mappers.cc.

cos(pi*(1/2))
ans =    6.1232e-17

The actual ans should be 0;

Gurjeet Singh <gurjeet>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by gurjeet (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-17 mtmiller StatusNone => Invalid
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5