Bug 832067

Summary: Inverted trigonometric functions do wrong calculation
Product: [Fedora] Fedora Reporter: Martin Simon <msimon>
Component: gcalctoolAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17CC: rstrode, tpelka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-14 12:42:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Simon 2012-06-14 12:38:09 UTC
Description of problem:
The inverted trigonometric function do wrong calculation. All results I tested are shifted by something in significant points, like '1'. E.g. tan^-1 (1) gives me 50 i gcalctool, but correct result is 45, or sin^-1 (1) gives me 100, but the correct result is 90.

Version-Release number of selected component (if applicable):
gcalctool-6.4.2.1-1.fc17.i686

How reproducible:
100%

Steps to Reproduce:
1. Start gcalctool and switch to advanced mode
2. Click [tan], then [x^-1], [1] and press enter
3.
  
Actual results:
50

Expected results:
45

Additional info:

Comment 1 Martin Simon 2012-06-14 12:42:58 UTC
Wrong angle units in preferences, sorry