v8.run/go/exp@v0.0.26-0.20230226010534-afcdbd3f782d/fastrand/example_splitmix64_test.go (about)

     1  package fastrand_test
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"v8.run/go/exp/fastrand/alg"
     7  )
     8  
     9  func Example_splitmix64() {
    10  	fmt.Println(alg.Splitmix64())
    11  	fmt.Println(alg.Splitmix64())
    12  	fmt.Println(alg.Splitmix64())
    13  	fmt.Println(alg.Splitmix64())
    14  	fmt.Println(alg.Splitmix64())
    15  
    16  	// Output: 9910846700779238901
    17  	// 5865067318551043833
    18  	// 4341075433095661249
    19  	// 9570429342510947219
    20  	// 10923570614615297618
    21  }