• Tor Lillqvist's avatar
    Make the RAND() and RANDBETWEEN() Calc functions non-random when requested · bff635be
    Tor Lillqvist yazdı
    We don't want such a mode to affect other uses of randomness, though. Thus use
    a separate random number generator object for these two functions, and use a
    fixed seed for it if the SC_RAND_REPEATABLE environment variable is set.
    
    As RAND() is implemented in sc, and RANDBETWEEN() is implemented in scaddins,
    it was a bit hard to figure out where to add the new functions needed, without
    having to over-engineer things with UNO. (This functionality is totally
    Calc-specific, but neither sc nor scaddins has any public (non-UNO) API.)
    Caolan suggested the formula module, which seems like a good enough place to
    me.
    
    Change-Id: I4b0cb327392e51a18bce28478af91b0174d6b726
    bff635be
Adı
Son kayıt (commit)
Son güncelleme
..
idl/com/sun/star/sheet/addin Loading commit data...
source Loading commit data...
AllLangResTarget_analysis.mk Loading commit data...
AllLangResTarget_date.mk Loading commit data...
AllLangResTarget_pricing.mk Loading commit data...
InternalUnoApi_scaddins.mk Loading commit data...
Library_analysis.mk Loading commit data...
Library_date.mk Loading commit data...
Library_pricing.mk Loading commit data...
Makefile Loading commit data...
Module_scaddins.mk Loading commit data...
README Loading commit data...