Re: LO calc formulas

2020-12-13 Thread Stephan Bergmann
On 14/12/2020 08:46, Rene Engelhard wrote: Am 14.12.20 um 07:57 schrieb Mike Kaganski: On 11.12.2020 23:41, Dante Doménech wrote: We have our own isnan, isinf, isfinite, ... and some of them with quite strange code. Why is the default c++ standard library isn't good enough? See also https://b

Re: LO calc formulas

2020-12-13 Thread Rene Engelhard
Hi, Am 14.12.20 um 07:57 schrieb Mike Kaganski: > On 11.12.2020 23:41, Dante Doménech wrote: >> We have our own isnan, isinf, isfinite, ... and some of them with >> quite strange code. >> Why is the default c++ standard library isn't good enough? > > See also https://bugs.documentfoundation.org/s

Re: LO calc formulas

2020-12-13 Thread Stephan Bergmann
On 11/12/2020 21:41, Dante Doménech wrote: I've been digging into calc code. And it makes me wonder about a few things. First, in here: core /include /rtl

Re: LO calc formulas

2020-12-13 Thread Mike Kaganski
On 11.12.2020 23:41, Dante Doménech wrote: We have our own isnan, isinf, isfinite, ... and some of them with quite strange code. Why is the default c++ standard library isn't good enough? See also https://bugs.documentfoundation.org/show_bug.cgi?id=130975 and https://bugs.documentfoundation.o

Re: LO calc formulas

2020-12-13 Thread Noel Grandin
On Fri, 11 Dec 2020 at 22:41, Dante Doménech wrote: > First, in here: core /include > /rtl > /math.hxx >

Re: LO calc formulas

2020-12-13 Thread antlists
On 11/12/2020 20:41, Dante Doménech wrote: I've been digging into calc code. And it makes me wonder about a few things. First, in here: core /include /rtl

Re: LO calc formulas

2020-12-11 Thread Dante Doménech
I've been digging into calc code. And it makes me wonder about a few things. First, in here: core /include /rtl /math.hxx

Re: LO calc formulas

2020-12-10 Thread Noel Grandin
On Thu, 10 Dec 2020 at 01:25, Dante Doménech wrote: > I-ll implement a second order kahan algorithm. Third order would be > overkill ( I don't think anyone is gonna use it for high precision > calculus ). > But it's not only sum and average, variance (stats) and any other formula > with sums is

Re: LO calc formulas

2020-12-09 Thread Dante Doménech
OK. Thanks you. Found it. In base to the code is feasible in a couple of weeks. I-ll implement a second order kahan algorithm. Third order would be overkill ( I don't think anyone is gonna use it for high precision calculus ). But it's not only sum and average, variance (stats) and any other formu

Re: LO calc formulas

2020-12-09 Thread Eike Rathke
Hi, On Wednesday, 2020-12-09 20:25:17 +0100, Dante Doménech wrote: > Does anyone know where are implemented the calc formulas? Regina already gave pointers. Ask if you need more. > I'd like to check out if it uses the kahan algorithm, pairwise sum or > something else. Kahan is not used, but th

Re: LO calc formulas

2020-12-09 Thread Regina Henschel
Hi Dante, the methods for the Calc functions are in files interpr*.cxx and interpre.hxx. Most methods are named kind ScFoo, ScSum for example. They do outer things like checking, that parameters are valid. From there you will easily find the calculating algorithm, often a local method. I thi

LO calc formulas

2020-12-09 Thread Dante Doménech
Does anyone know where are implemented the calc formulas? I'd like to check out if it uses the kahan algorithm, pairwise sum or something else. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/l