From koffice-devel Sat Jul 19 10:12:40 2008 From: Stefan Nikolaus Date: Sat, 19 Jul 2008 10:12:40 +0000 To: koffice-devel Subject: Re: Question about XIRR in financial.cpp Message-Id: <200807191212.40896.stefan.nikolaus () kdemail ! net> X-MARC-Message: https://marc.info/?l=koffice-devel&m=121646238922085 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1294791377==" --===============1294791377== Content-Type: multipart/signed; boundary="nextPart1528244.Ln07SyT91H"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1528244.Ln07SyT91H Content-Type: multipart/alternative; boundary="Boundary-00=_Y4bgI4rw37NoYl3" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-00=_Y4bgI4rw37NoYl3 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Friday 18 July 2008 16:47:16 Stefan Nikolaus wrote: > On Friday 18 July 2008 16:14:34 Alvaro Soliverez wrote: > > Hello Stefan, > > thanks a lot for the prompt answer. > > After some more debugging, I found a bug in our method that triggers an > > infinite loop. The XIRR method in koffice has a way to prevent this. And > > given that it is according to the OpenFormula spec, I think it would be > > better to use that one. > > > > I will adapt the function work in KMyMoney. It is not possible to just > > link to it, because there are major difference in data structures. > > > > Since KMyMoney is GPL v2 or later, and the file here ( > > http://api.kde.org/koffice-api/koffice-apidocs/kspread/html/financial_8= cp > >p- source.html#l02034) is GPLv2 only, I will create a separate class with > > only the methods I need and copy the corresponding copyright notice. > > Is this ok with you? I see that you are one of the copyright holders in > > the file. > > The XIRR function was written by Sascha Pfau (CC'ed). > > @Sascha: Is it okay/possible to relicense this code as GPL version 2 or > later? Sascha gave his okay to relicense the code, so you can just copy it over to= =20 your project. =2D-=20 Stefan Nikolaus --Boundary-00=_Y4bgI4rw37NoYl3 Content-Type: text/html; charset="iso-8859-15" Content-Transfer-Encoding: 7bit

On Friday 18 July 2008 16:47:16 Stefan Nikolaus wrote:

> On Friday 18 July 2008 16:14:34 Alvaro Soliverez wrote:

> > Hello Stefan,

> > thanks a lot for the prompt answer.

> > After some more debugging, I found a bug in our method that triggers an

> > infinite loop. The XIRR method in koffice has a way to prevent this. And

> > given that it is according to the OpenFormula spec, I think it would be

> > better to use that one.

> >

> > I will adapt the function work in KMyMoney. It is not possible to just

> > link to it, because there are major difference in data structures.

> >

> > Since KMyMoney is GPL v2 or later, and the file here (

> > http://api.kde.org/koffice-api/koffice-apidocs/kspread/html/financial_8cp

> >p- source.html#l02034) is GPLv2 only, I will create a separate class with

> > only the methods I need and copy the corresponding copyright notice.

> > Is this ok with you? I see that you are one of the copyright holders in

> > the file.

>

> The XIRR function was written by Sascha Pfau (CC'ed).

>

> @Sascha: Is it okay/possible to relicense this code as GPL version 2 or

> later?

Sascha gave his okay to relicense the code, so you can just copy it over to your project.

--

Stefan Nikolaus

--Boundary-00=_Y4bgI4rw37NoYl3-- --nextPart1528244.Ln07SyT91H Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkiBvhgACgkQpfDn2DABIpefAACgktgOYG1SHn2tdqlZgcyOXCKF rKEAoKC9pgPCX4M/LpoVlPHnSXoX8Qf+ =bCvm -----END PGP SIGNATURE----- --nextPart1528244.Ln07SyT91H-- --===============1294791377== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============1294791377==--