[Libreoffice-bugs] [Bug 144066] 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
Wed Aug 25 08:25:36 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=144066

Jean-Baptiste Faure <jbfaure at libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
                 CC|                            |jbfaure at libreoffice.org
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Jean-Baptiste Faure <jbfaure at libreoffice.org> ---
Hmmm, tan() = sin()/cos()
sin(Pi/2) = 1
cos(Pi/2) = 0
then tan(Pi/2) = +infinity
so the value provided by Calc is a relatively correct approximation.

What is your source for your expected value?
https://en.wikipedia.org/wiki/Trigonometric_functions#Simple_algebraic_values

Closing as NotABug.

Best regards. JBF

-- 
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/20210825/611d27a3/attachment.htm>


More information about the Libreoffice-bugs mailing list