Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rngCooked (0.13 sec)

  1. src/math/rand/rng.go

     * DP Mitchell and JA Reeds
     */
    
    const (
    	rngLen   = 607
    	rngTap   = 273
    	rngMax   = 1 << 63
    	rngMask  = rngMax - 1
    	int32max = (1 << 31) - 1
    )
    
    var (
    	// rngCooked used for seeding. See gen_cooked.go for details.
    	rngCooked [rngLen]int64 = [...]int64{
    		-4181792142133755926, -4576982950128230565, 1395769623340756751, 5333664234075297259,
    		-6347679516498800754, 9033628115061424579, 7143218595135194537, 4812947590706362721,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 14:20:53 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  2. src/math/rand/gen_cooked.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // This program computes the value of rngCooked in rng.go,
    // which is used for seeding all instances of rand.Source.
    // a 64bit and a 63bit version of the array is printed to
    // the standard output.
    
    package main
    
    import "fmt"
    
    const (
    	length = 607
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.5K bytes
    - Viewed (0)
Back to top