Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi tino,

On Saturday, 2012-12-01 11:22:09 +0000, tino wrote:

but why do we need a wrapper around boost in sal?  i mean i haven't
looked at the boost random stuff but unless its interface is horrible
(always a possibility with boost i guess) _and_ there are multiple
places where we'd want to call it, then why not use it directly from
Calc's formula implementation?

I guess that's for someone more experienced to comment on. My simple
reason was rtl::math seems a good collection of maths functions this
may fit in,

Actually rtl::math offers methods available with one or the other
compiler but not all or unifying them, like isFinite() and erf() and
such, or methods of general interest like approx...() and the safe
sin(), cos(), ... methods.

IMHO rtl::math is not a place for an abundant choice of RNGs.

I can also hardly imagine that other applications than Calc would
actually need them, anyhow, keeping all in one source file under
sc/source/core/tool/ that could be moved down to svl/ if needed looks
best to me.

and there's no decision yet if RANDNORMAL() etc should be
implemented in sc or scaddins (or at all?).

I'd prefer in sc.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack

Attachment: pgpwT4a7RgVZF.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.