35c85effec
* 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> |
||
---|---|---|
.. | ||
pch | ||
xfilter | ||
localtime.hxx | ||
lwpatomholder.hxx | ||
lwpbasetype.hxx | ||
lwpbookmarkmgr.hxx | ||
lwpchangemgr.hxx | ||
lwpcolor.hxx | ||
lwpdefs.hxx | ||
lwpdocdata.hxx | ||
lwpdropcapmgr.hxx | ||
lwpfilehdr.hxx | ||
lwpfont.hxx | ||
lwpfoundry.hxx | ||
lwpfrib.hxx | ||
lwpglobalmgr.hxx | ||
lwpidxmgr.hxx | ||
lwpobj.hxx | ||
lwpobjfactory.hxx | ||
lwpobjhdr.hxx | ||
lwpobjid.hxx | ||
lwpobjstrm.hxx | ||
lwpobjtags.hxx | ||
lwpoverride.hxx | ||
lwpsvstream.hxx | ||
lwptools.hxx |