office-gobmx/scaddins
Hossein 35c85effec Use M_PI instead of defined value; use rad2deg()
* Replace defined values of PI with M_PI defined in <cmath>
* Use M_PI_2 instead of PI / 2.0
* Instances could be found with:

    git grep 3.14 *.cxx *.hxx|grep define

* One instance is ignored:

  sc/source/core/opencl/opinlinefun_statistical.cxx

* Replace *(180 / PI) with basegfx::rad2deg()
* Replace 2*PI/360 with basegfx::deg2rad()
* Use atan2 instead of atan where it was more appropriate
  + atan2() handles all 4 quadrants
  + Extra conditions for different quadrants are removed

Change-Id: I083ee2e1427cd36ba0b8c38e4fe5f782d6486075
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124229
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-11-14 08:14:15 +01:00
..
idl/com/sun/star/sheet/addin
inc Pass context and resource string down to boost::locale separately 2021-08-05 09:39:11 +02:00
source Use M_PI instead of defined value; use rad2deg() 2021-11-14 08:14:15 +01:00
AllLangMoTarget_sca.mk
InternalUnoApi_scaddins.mk
IwyuFilter_scaddins.yaml tdf#42949 Fix new IWYU warnings in directories s* 2020-12-01 14:56:43 +01:00
Library_analysis.mk
Library_date.mk
Library_pricing.mk
Makefile
Module_scaddins.mk
README.md Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00

Extra Functions for LibreOffice Calc

These provide UNO components that implement more exotic LibreOffice Calc functions. If you want to do the same, here can be a good place to start.

See also