Searched hist:"0 d05bb74" (Results 1 – 2 of 2) sorted by relevance
/aoo41x/main/scaddins/source/analysis/ |
H A D | analysis.cxx | diff 0d05bb74 Fri Jan 25 04:47:23 UTC 2013 Pedro Giffuni <pfg@apache.org> i121421 - Calc's RAND() behaves poorly on most platforms. Replace WH2006 PRNG with the well known Mersenne Twister as implemented in Boost. This actually has some drawbacks with respect to our previous implementation: we lose the nifty seeding and instead use the timer which is non-optimal. The main reason is the speed: MT is said to be at least 4 times faster. On the other hand I also moved the WH to the scaddins module where it is used by Calc's RANDBETWEEN function. This way we still have the alternative PRNG and we drop another use of the unreliable rand from libc. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1438322 13f79535-47bb-0310-9956-ffa450edef68
|
/aoo41x/main/sc/source/core/tool/ |
H A D | interpr1.cxx | diff 0d05bb74 Fri Jan 25 04:47:23 UTC 2013 Pedro Giffuni <pfg@apache.org> i121421 - Calc's RAND() behaves poorly on most platforms. Replace WH2006 PRNG with the well known Mersenne Twister as implemented in Boost. This actually has some drawbacks with respect to our previous implementation: we lose the nifty seeding and instead use the timer which is non-optimal. The main reason is the speed: MT is said to be at least 4 times faster. On the other hand I also moved the WH to the scaddins module where it is used by Calc's RANDBETWEEN function. This way we still have the alternative PRNG and we drop another use of the unreliable rand from libc. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1438322 13f79535-47bb-0310-9956-ffa450edef68
|
Completed in 66 milliseconds