Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for approximations (0.34 sec)

  1. src/internal/trace/mud_test.go

    package trace
    
    import (
    	"math"
    	"math/rand"
    	"testing"
    )
    
    func TestMUD(t *testing.T) {
    	// Insert random uniforms and check histogram mass and
    	// cumulative sum approximations.
    	rnd := rand.New(rand.NewSource(42))
    	mass := 0.0
    	var mud mud
    	for i := 0; i < 100; i++ {
    		area, l, r := rnd.Float64(), rnd.Float64(), rnd.Float64()
    		if rnd.Intn(10) == 0 {
    			r = l
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/storageversionhash.go

    	// the chance of colliding hash P(N,X) approximates to 1-e^(-(N^2)/2^(8X+1)).
    	// P(10,000, 8) ~= 2.7*10^(-12), which is low enough.
    	// See https://en.wikipedia.org/wiki/Birthday_problem#Approximations.
    	return base64.StdEncoding.EncodeToString(bytes[:8])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 14 12:08:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/math/tanh_s390x.s

    // Copyright 2016 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.
    
    #include "textflag.h"
    
    // Minimax polynomial approximations
    DATA tanhrodataL18<>+0(SB)/8, $-1.0
    DATA tanhrodataL18<>+8(SB)/8, $-2.0
    DATA tanhrodataL18<>+16(SB)/8, $1.0
    DATA tanhrodataL18<>+24(SB)/8, $2.0
    DATA tanhrodataL18<>+32(SB)/8, $0.20000000000000011868E+01
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 15:34:41 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  4. src/runtime/mkfastlog2table.go

    // Copyright 2015 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
    
    // fastlog2Table contains log2 approximations for 5 binary digits.
    // This is used to implement fastlog2, which is used for heap sampling.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"log"
    	"math"
    	"os"
    )
    
    func main() {
    	var buf bytes.Buffer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 26 22:12:19 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  5. src/math/tan_s390x.s

    // Copyright 2017 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.
    
    #include "textflag.h"
    
    // Minimax polynomial approximations
    DATA ·tanrodataL13<> + 0(SB)/8, $0.181017336383229927e-07
    DATA ·tanrodataL13<> + 8(SB)/8, $-.256590857271311164e-03
    DATA ·tanrodataL13<> + 16(SB)/8, $-.464359274328689195e+00
    DATA ·tanrodataL13<> + 24(SB)/8, $1.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 23:30:00 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. src/math/log_s390x.s

    // Copyright 2017 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.
    
    #include "textflag.h"
    
    // Minimax polynomial approximations
    DATA ·logrodataL21<> + 0(SB)/8, $-.499999999999999778E+00
    DATA ·logrodataL21<> + 8(SB)/8, $0.333333333333343751E+00
    DATA ·logrodataL21<> + 16(SB)/8, $-.250000000001606881E+00
    DATA ·logrodataL21<> + 24(SB)/8, $0.199999999971603032E+00
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 15:34:41 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  7. pkg/cache/cache.go

    package cache
    
    import (
    	"time"
    )
    
    // Stats returns usage statistics about an individual cache, useful to assess the
    // efficiency of a cache.
    //
    // The values returned in this struct are approximations of the current state of the cache.
    // For the sake of efficiency, certain edge cases in the implementation can lead to
    // inaccuracies.
    type Stats struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. src/math/log1p_s390x.s

    GLOBL ·log1pxl1<> + 0(SB), RODATA, $8
    DATA ·log1pxa<> + 0(SB)/8, $5.5
    GLOBL ·log1pxa<> + 0(SB), RODATA, $8
    DATA ·log1pxmone<> + 0(SB)/8, $-1.0
    GLOBL ·log1pxmone<> + 0(SB), RODATA, $8
    
    // Minimax polynomial approximations
    DATA ·log1pc8<> + 0(SB)/8, $0.212881813645679599E-07
    GLOBL ·log1pc8<> + 0(SB), RODATA, $8
    DATA ·log1pc7<> + 0(SB)/8, $-.148682720127920854E-06
    GLOBL ·log1pc7<> + 0(SB), RODATA, $8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 15:34:41 UTC 2019
    - 5.1K bytes
    - Viewed (0)
  9. src/math/cosh_s390x.s

    DATA coshtab<>+104(SB)/8, $0.118665304327406698E-01
    DATA coshtab<>+112(SB)/8, $0.214434994118118914E-01
    DATA coshtab<>+120(SB)/8, $0.322580645161290314E-01
    GLOBL coshtab<>+0(SB), RODATA, $128
    
    // Minimax polynomial approximations
    DATA coshe2<>+0(SB)/8, $0.500000000000004237e+00
    GLOBL coshe2<>+0(SB), RODATA, $8
    DATA coshe3<>+0(SB)/8, $0.166666666630345592e+00
    GLOBL coshe3<>+0(SB), RODATA, $8
    DATA coshe4<>+0(SB)/8, $0.416666664838056960e-01
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 15:34:41 UTC 2019
    - 5.6K bytes
    - Viewed (0)
  10. src/math/sinh_s390x.s

    GLOBL sinhxlim1<>+0(SB), RODATA, $8
    DATA sinhxadd<>+0(SB)/8, $0xc3200001610007fb
    GLOBL sinhxadd<>+0(SB), RODATA, $8
    DATA sinhx4ff<>+0(SB)/8, $0x4ff0000000000000
    GLOBL sinhx4ff<>+0(SB), RODATA, $8
    
    // Minimax polynomial approximations
    DATA sinhe0<>+0(SB)/8, $0.11715728752538099300E+01
    GLOBL sinhe0<>+0(SB), RODATA, $8
    DATA sinhe1<>+0(SB)/8, $0.11715728752538099300E+01
    GLOBL sinhe1<>+0(SB), RODATA, $8
    DATA sinhe2<>+0(SB)/8, $0.58578643762688526692E+00
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 17 13:54:10 UTC 2021
    - 6K bytes
    - Viewed (0)
Back to top