File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ Better rank ordering method by Stefan Gustavson in 2012.
2828 */
2929
3030
31- // these # __PURE__ comments help uglifyjs with dead code removal
32- //
33- const F2 = /*#__PURE__*/ 0.5 * ( Math . sqrt ( 3.0 ) - 1.0 ) ;
34- const G2 = /*#__PURE__*/ ( 3.0 - Math . sqrt ( 3.0 ) ) / 6.0 ;
31+ // these __PURE__ comments help uglifyjs with dead code removal
32+ //
33+ const F2 = 0.5 * ( /*#__PURE__*/ Math . sqrt ( 3.0 ) - 1.0 ) ;
34+ const G2 = ( 3.0 - /*#__PURE__*/ Math . sqrt ( 3.0 ) ) / 6.0 ;
3535const F3 = 1.0 / 3.0 ;
3636const G3 = 1.0 / 6.0 ;
37- const F4 = /*#__PURE__*/ ( Math . sqrt ( 5.0 ) - 1.0 ) / 4.0 ;
38- const G4 = /*#__PURE__*/ ( 5.0 - Math . sqrt ( 5.0 ) ) / 20.0 ;
37+ const F4 = ( /*#__PURE__*/ Math . sqrt ( 5.0 ) - 1.0 ) / 4.0 ;
38+ const G4 = ( 5.0 - /*#__PURE__*/ Math . sqrt ( 5.0 ) ) / 20.0 ;
3939
4040// I'm really not sure why this | 0 (basically a coercion to int)
4141// is making this faster but I get ~5 million ops/sec more on the
You can’t perform that action at this time.
0 commit comments