[Libreoffice-bugs] [Bug 144066] New: Tangent function is returning a number to the order of 10^16 for PI/2
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 24 17:40:38 UTC 2021
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: libreoffice-bugs at lists.freedesktop.org
Reporter: blowmechomo at gmail.com
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210824/09784d1d/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list