https://bugs.documentfoundation.org/show_bug.cgi?id=144066
Bug ID: 144066
Summary: Tangent function is returning a number to the order of
10^16 for PI/2
Product: LibreOffice
Version: 7.1.5.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Description:
the tangent function =tan(radians) is returning a value way out of range.
to reproduce set a cell to pi()/2 and then another to take the value =tan(cell)
Steps to Reproduce:
1. Create cell with value PI()/2 as the value, lets say in A1
2. Create another cell with tan function referencing it. say in B2 the val
=tan(A1)
Will also happen if you set tan equal to the value itself so =TAN(PI()/2)
Of note the value =TAN(PI()/4) returns 1 like it should.
Actual Results:
1.63312393531954E+016
Expected Results:
0.027422438
Reproducible: Always
User Profile Reset: Yes
OpenGL enabled: Yes
Additional Info:
It should have calculated the correct tangent value...
--
You are receiving this mail because:
You are the assignee for the bug.