|
| From: | Gurjeet Singh |
| Subject: | [Octave-bug-tracker] [bug #57838] The cos function is returning wrong values at few parameters. |
| Date: | Mon, 17 Feb 2020 11:14:09 -0500 (EST) |
| User-agent: | Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) snap Chromium/80.0.3987.100 Chrome/80.0.3987.100 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?57838>
Summary: The cos function is returning wrong values at few
parameters.
Project: GNU Octave
Submitted by: 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: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 5.2.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
'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;
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57838>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |