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> |
||
---|---|---|
.. | ||
attributes.cxx | ||
attributes.hxx | ||
cspline.cxx | ||
cspline.h | ||
datecode.h | ||
drawdef.h | ||
drawing.h | ||
fontmap.cxx | ||
fontmap.hxx | ||
formula.cxx | ||
formula.h | ||
grammar.cxx | ||
grammar.h | ||
grammar.hxx | ||
hbox.cxx | ||
hbox.h | ||
hcode.cxx | ||
hcode.h | ||
hfont.cxx | ||
hfont.h | ||
hgzip.cxx | ||
hgzip.h | ||
hinfo.cxx | ||
hinfo.h | ||
hiodev.cxx | ||
hiodev.h | ||
hpara.cxx | ||
hpara.h | ||
hstream.cxx | ||
hstream.hxx | ||
hstyle.cxx | ||
hstyle.h | ||
htags.cxx | ||
htags.h | ||
hutil.cxx | ||
hutil.h | ||
hwp.component | ||
hwpeq.cxx | ||
hwpeq.h | ||
hwpfile.cxx | ||
hwpfile.h | ||
hwplib.h | ||
hwpread.cxx | ||
hwpreader.cxx | ||
hwpreader.hxx | ||
ksc5601.h | ||
lexer.cxx | ||
lexer.hxx | ||
mapping.h | ||
mzstring.cxx | ||
mzstring.h | ||
nodes.h | ||
precompile.h | ||
solver.cxx | ||
solver.h |