[cvs] / jsr166 / src / main / java / util / SplittableRandom.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/SplittableRandom.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21, Thu Sep 19 23:19:43 2013 UTC revision 1.22, Fri Sep 20 09:38:07 2013 UTC
# Line 197  Line 197 
197          return z ^ (z >>> 32);          return z ^ (z >>> 32);
198      }      }
199    
     private static long xmix64(long z) {  
         z *= 0xbf58476d1ce4e5b9L;  
         z = (z ^ (z >>> 27)) * 0x94d049bb133111ebL;  
         return z ^ (z >>> 31);  
     }  
   
200      /**      /**
201       * Returns the 32 high bits of Stafford variant 4 mix64 function as int.       * Returns the 32 high bits of Stafford variant 4 mix64 function as int.
202       */       */

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8