Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for mymath (0.11 sec)

  1. src/math/big/float_test.go

    		0,
    		1,
    		2,
    		12345,
    		1e10,
    		1e100,
    		3.14159265e10,
    		2.718281828e-123,
    		1.0 / 3,
    		math.MaxFloat32,
    		math.MaxFloat64,
    		math.SmallestNonzeroFloat32,
    		math.SmallestNonzeroFloat64,
    		math.Inf(-1),
    		math.Inf(0),
    		-math.Inf(1),
    	} {
    		for i := range [2]int{} {
    			if i&1 != 0 {
    				want = -want
    			}
    			var f Float
    			f.SetFloat64(want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/obj/s390x"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    	"encoding/binary"
    	"fmt"
    	"internal/buildcfg"
    	"io"
    	"math"
    	"math/bits"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    type deadValueChoice bool
    
    const (
    	leaveDeadValues  deadValueChoice = false
    	removeDeadValues                 = true
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  3. src/time/time_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package time_test
    
    import (
    	"bytes"
    	"encoding/gob"
    	"encoding/json"
    	"fmt"
    	"math"
    	"math/big"
    	"math/rand"
    	"os"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    	"testing/quick"
    	. "time"
    )
    
    // We should be in PST/PDT, but if the time zone files are missing we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/horizontal.go

    		return currentReplicas // Scaling is disabled
    	} else if *scalingRules.SelectPolicy == autoscalingv2.MinChangePolicySelect {
    		result = math.MaxInt32
    		selectPolicyFn = min // For scaling up, the lowest change ('min' policy) produces a minimum value
    	} else {
    		result = math.MinInt32
    		selectPolicyFn = max // Use the default policy otherwise to produce a highest possible change
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // Constant folding
    (FABS (FMOVDconst [x])) => (FMOVDconst [math.Abs(x)])
    (FSQRT (FMOVDconst [x])) && x >= 0 => (FMOVDconst [math.Sqrt(x)])
    (FFLOOR (FMOVDconst [x])) => (FMOVDconst [math.Floor(x)])
    (FCEIL (FMOVDconst [x])) => (FMOVDconst [math.Ceil(x)])
    (FTRUNC (FMOVDconst [x])) => (FMOVDconst [math.Trunc(x)])
    
    // Rotates
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/certificates/v1beta1/generated.pb.go

    	github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
    
    	k8s_io_api_core_v1 "k8s.io/api/core/v1"
    
    	math "math"
    	math_bits "math/bits"
    	reflect "reflect"
    	strings "strings"
    )
    
    // Reference imports to suppress errors if they are not otherwise used.
    var _ = proto.Marshal
    var _ = fmt.Errorf
    var _ = math.Inf
    
    // This is a compile-time assertion to ensure that this generated file
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  7. src/encoding/json/decode_test.go

    		ptr:      new(map[int64]string),
    		out:      map[int64]string{math.MinInt64: "min", math.MaxInt64: "max"},
    	},
    	{
    		CaseName: Name(""),
    		in:       `{"18446744073709551615":"max"}`,
    		ptr:      new(map[uint64]string),
    		out:      map[uint64]string{math.MaxUint64: "max"},
    	},
    	{
    		CaseName: Name(""),
    		in:       `{"0":false,"10":true}`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/discovery/v1/generated.pb.go

    	k8s_io_api_core_v1 "k8s.io/api/core/v1"
    	v1 "k8s.io/api/core/v1"
    
    	math "math"
    	math_bits "math/bits"
    	reflect "reflect"
    	strings "strings"
    )
    
    // Reference imports to suppress errors if they are not otherwise used.
    var _ = proto.Marshal
    var _ = fmt.Errorf
    var _ = math.Inf
    
    // This is a compile-time assertion to ensure that this generated file
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/discovery/v1beta1/generated.pb.go

    	k8s_io_api_core_v1 "k8s.io/api/core/v1"
    	v1 "k8s.io/api/core/v1"
    
    	math "math"
    	math_bits "math/bits"
    	reflect "reflect"
    	strings "strings"
    )
    
    // Reference imports to suppress errors if they are not otherwise used.
    var _ = proto.Marshal
    var _ = fmt.Errorf
    var _ = math.Inf
    
    // This is a compile-time assertion to ensure that this generated file
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 54.2K bytes
    - Viewed (0)
  10. src/fmt/fmt_test.go

    	var i1 any
    	i1 = "abc"
    	s := Sprintf("%s", i1)
    	if s != "abc" {
    		t.Errorf(`Sprintf("%%s", empty("abc")) = %q want %q`, s, "abc")
    	}
    }
    
    var (
    	NaN    = math.NaN()
    	posInf = math.Inf(1)
    	negInf = math.Inf(-1)
    
    	intVar = 0
    
    	array  = [5]int{1, 2, 3, 4, 5}
    	iarray = [4]any{1, "hello", 2.5, nil}
    	slice  = array[:]
    	islice = iarray[:]
    )
    
    type A struct {
    	i int
    	j uint
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
Back to top