Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Logb (0.28 sec)

  1. src/math/logb.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package math
    
    // Logb returns the binary exponent of x.
    //
    // Special cases are:
    //
    //	Logb(±Inf) = +Inf
    //	Logb(0) = -Inf
    //	Logb(NaN) = NaN
    func Logb(x float64) float64 {
    	// special cases
    	switch {
    	case x == 0:
    		return Inf(-1)
    	case IsInf(x, 0):
    		return Inf(1)
    	case IsNaN(x):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 07 19:46:45 UTC 2022
    - 1021 bytes
    - Viewed (0)
  2. src/math/all_test.go

    	for i := 0; i < len(vf); i++ {
    		if f := Logb(vf[i]); logb[i] != f {
    			t.Errorf("Logb(%g) = %g, want %g", vf[i], f, logb[i])
    		}
    	}
    	for i := 0; i < len(vflogbSC); i++ {
    		if f := Logb(vflogbSC[i]); !alike(logbSC[i], f) {
    			t.Errorf("Logb(%g) = %g, want %g", vflogbSC[i], f, logbSC[i])
    		}
    	}
    	for i := 0; i < len(vffrexpBC); i++ {
    		if f := Logb(vffrexpBC[i]); !alike(logbBC[i], f) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Ln10", Const, 0},
    		{"Ln2", Const, 0},
    		{"Log", Func, 0},
    		{"Log10", Func, 0},
    		{"Log10E", Const, 0},
    		{"Log1p", Func, 0},
    		{"Log2", Func, 0},
    		{"Log2E", Const, 0},
    		{"Logb", Func, 0},
    		{"Max", Func, 0},
    		{"MaxFloat32", Const, 0},
    		{"MaxFloat64", Const, 0},
    		{"MaxInt", Const, 17},
    		{"MaxInt16", Const, 0},
    		{"MaxInt32", Const, 0},
    		{"MaxInt64", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/package-lock.json

            "node": ">= 8"
          }
        },
        "node_modules/@nodelib/fs.walk": {
          "version": "1.2.8",
          "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
          "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
          "dev": true,
          "dependencies": {
            "@nodelib/fs.scandir": "2.1.5",
            "fastq": "^1.6.0"
          },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 156K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg math, func Lgamma(float64) (float64, int)
    pkg math, func Log(float64) float64
    pkg math, func Log10(float64) float64
    pkg math, func Log1p(float64) float64
    pkg math, func Log2(float64) float64
    pkg math, func Logb(float64) float64
    pkg math, func Max(float64, float64) float64
    pkg math, func Min(float64, float64) float64
    pkg math, func Mod(float64, float64) float64
    pkg math, func Modf(float64) (float64, float64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top