random number generators for calc

Stephan Bergmann sbergman at redhat.com
Mon Dec 3 05:56:51 PST 2012

On 12/02/2012 04:06 PM, Markus Mohrhard wrote:
> On Sun, Dec 02, 2012 at 11:47:01AM +0000, tino wrote:
>>> We should not implement them in rtl/math.hxx until there are more users
>>> than calc's interpreter that need it. Lets not overcomplicate this stuff
>>> as long as it is not necessary.
>> What about implementation in random.cxx and creating random.hxx so all
>> the random stuff is in one place?
> Why do you want this abstraction? Following KISS I would just start
> implementing the functions in ScInterpreter and extract commonly used
> parts into an own method. If at some point other parts of Libreoffice
> also need random functions with known statistical properties we can
> still extract them.

Yes; please keep the sal interface as small and simple as possible.


More information about the LibreOffice mailing list