summaryrefslogtreecommitdiff
path: root/sal/rtl/math.cxx
AgeCommit message (Expand)Author
2020-12-18Check intermediate for not to be rounded value, tdf#138360 follow-upEike Rathke
2020-12-18Replace log2() call with parts.exponent-1023, tdf#138360 follow-upEike Rathke
2020-12-03Better accuracy in rtl_math_approxValue(), tdf#138360 relatedEike Rathke
2020-12-03Related: tdf#138360 Use approxFloor() in rtl_math_round()Eike Rathke
2020-12-02Typo in rounded digit string, tdf#138360 follow-upEike Rathke
2020-12-02Related: tdf#138360 Rounding integers to decimals is futileEike Rathke
2020-11-28Resolves: tdf#138360 better accuracy in rtl_math_round()Eike Rathke
2020-11-27Consistently use RTL_CONSTASCII_LENGTH(), tdf#136272 follow-upEike Rathke
2020-11-27Fix commentEike Rathke
2020-11-27Resolves: tdf#136272 convert DBL_MAX to 1.7976931348623157e+308Eike Rathke
2020-11-25Related: tdf#136272 accept 1.79769313486232e+308 as DBL_MAXEike Rathke
2020-11-16replace std::max(std::min()) with std::clampNoel
2020-10-18Limit nDecPlaces to a sensible value [-20, 20]Eike Rathke
2020-09-12Replace remaining uses of sal_CharJulien Nabet
2020-07-02Upcoming improved loplugin:staticanonymous -> redundantstatic: salStephan Bergmann
2020-04-17Just use __builtin_ffs on GCC and ClangStephan Bergmann
2020-04-15loplugin:buriedassign in salNoel Grandin
2020-03-14tdf#130975 replace `rtl::math::isNan` with `std::isnan`.Yukio Siraichi
2020-03-14tdf#130974 replace `rtl::math::isSignBitSet` with `std::signbit`.Yukio Siraichi
2020-03-12tdf#130976 replace `rtl::math::isInf` with `std::inf`.Yukio Siraichi
2020-03-12tdf#130977 replace `rtl::math::isFinite` with `std::isfinite`.Yukio Siraichi
2020-02-27Related: tdf#130725: use strtod also in rtl::math::stringToDoubleMike Kaganski
2019-12-19sal_Char->char in remotebridges..saxNoel Grandin
2019-08-09Resolves: tdf#126766 fix rounding correction at start of negative valuesEike Rathke
2018-12-01A leading or trailing group separator character is not a group separatorEike Rathke
2018-11-29Rename Mac OS X to official name macOS in comments and documentationBartosz Kosiorek
2018-10-09Extend loplugin:redundantinline to catch inline functions w/o external linkageStephan Bergmann
2018-08-27directly use malloc/free in sal, instead of rtl_allocateMemory/etcNoel Grandin
2018-06-18Resolves: tdf#118073 one leading 0 is significant for 0.Eike Rathke
2018-03-02Disable -fsanitize=float-divide-by-zero in rtl_math_atanhStephan Bergmann
2018-01-29Translate German variable nameJohnny_M
2018-01-19Remove include of config_global.h from sal/config.hStephan Bergmann
2018-01-18Include android/compatibility.hxx from ubiquitous sal/config.hStephan Bergmann
2018-01-16sal: try to fix Android build, no std::roundMichael Stahl
2018-01-16tdf#96821 fix corner cases for Calc function ROUND.Winfried Donkers
2018-01-15convert a<b?a:b to std::min(a,b)Noel Grandin
2018-01-11convert (a>b?a:b) to std::max(a,b)Noel Grandin
2018-01-04ofz#4886 Integer-overflowCaolán McNamara
2017-11-23loplugin:simplifybool can't invert conditions involving float typesNoel Grandin
2017-11-23loplugin:simplifybool for negation of comparison operatorNoel Grandin
2017-11-22ofz#4366 Divide-by-zeroStephan Bergmann
2017-10-25ofz#3789 Integer-overflowCaolán McNamara
2017-10-23loplugin:includeform: salStephan Bergmann
2017-10-20Comment some values that 16 doesn't workEike Rathke
2017-10-19tdf#113211: fix calculations with big integersMike Kaganski
2017-07-23rtl: cleanup equality conditions in math.cxxChris Sherlock
2017-06-09clang-tidy readability-non-const-parameterNoel Grandin
2017-04-12clang-tidy: readability-else-after-returnNoel Grandin
2017-03-22Prevent calls to rtl/character.hxx functions with (signed) char argumentsStephan Bergmann
2017-03-03Remove redundant 'inline' keywordStephan Bergmann