Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Ln10 (0.07 sec)

  1. src/math/const.go

    	Ln2    = 0.693147180559945309417232121458176568075500134360255254120680009 // https://oeis.org/A002162
    	Log2E  = 1 / Ln2
    	Ln10   = 2.30258509299404568401799145468436420760110148862877297603332790 // https://oeis.org/A002392
    	Log10E = 1 / Ln10
    )
    
    // Floating-point limit values.
    // Max is the largest finite value representable by the type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 14:07:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. src/math/log10.go

    // The special cases are the same as for [Log].
    func Log10(x float64) float64 {
    	if haveArchLog10 {
    		return archLog10(x)
    	}
    	return log10(x)
    }
    
    func log10(x float64) float64 {
    	return Log(x) * (1 / Ln10)
    }
    
    // Log2 returns the binary logarithm of x.
    // The special cases are the same as for [Log].
    func Log2(x float64) float64 {
    	if haveArchLog2 {
    		return archLog2(x)
    	}
    	return log2(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 873 bytes
    - Viewed (0)
  3. src/math/all_test.go

    	for i := 0; i < len(vf); i++ {
    		a := Abs(vf[i])
    		if f := Log(a); log[i] != f {
    			t.Errorf("Log(%g) = %g, want %g", a, f, log[i])
    		}
    	}
    	if f := Log(10); f != Ln10 {
    		t.Errorf("Log(%g) = %g, want %g", 10.0, f, Ln10)
    	}
    	for i := 0; i < len(vflogSC); i++ {
    		if f := Log(vflogSC[i]); !alike(logSC[i], f) {
    			t.Errorf("Log(%g) = %g, want %g", vflogSC[i], f, logSC[i])
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  4. src/go/constant/value.go

    	// approximate float64 mantissa m and decimal exponent d
    	// f ~ m * 10**d
    	m, _ := mant.Float64()                     // 0.5 <= |m| < 1.0
    	d := float64(exp) * (math.Ln2 / math.Ln10) // log_10(2)
    
    	// adjust m for truncated (integer) decimal exponent e
    	e := int64(d)
    	m *= math.Pow(10, d-float64(e))
    
    	// ensure 1 <= |m| < 10
    	switch am := math.Abs(m); {
    	case am < 1-0.5e-6:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  5. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

        )
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "YHOO\n+2\n10"))
      }
    
      @Test
      fun multilineCr() {
        consumeEvents(
          """
          |data: YHOO
          |data: +2
          |data: 10
          |
          |
          """.trimMargin().replace("\n", "\r"),
        )
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "YHOO\n+2\n10"))
      }
    
      @Test
      fun multilineCrLf() {
        consumeEvents(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/runtime/softfloat64.go

    	}
    
    	// s = nlz(v); v <<= s
    	s := uint(0)
    	for v&(1<<63) == 0 {
    		s++
    		v <<= 1
    	}
    
    	vn1 := v >> 32
    	vn0 := v & (1<<32 - 1)
    	un32 := u1<<s | u0>>(64-s)
    	un10 := u0 << s
    	un1 := un10 >> 32
    	un0 := un10 & (1<<32 - 1)
    	q1 := un32 / vn1
    	rhat := un32 - q1*vn1
    
    again1:
    	if q1 >= b || q1*vn0 > b*rhat+un1 {
    		q1--
    		rhat += vn1
    		if rhat < b {
    			goto again1
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 17:58:41 UTC 2021
    - 11.5K bytes
    - Viewed (0)
  7. src/math/bits/bits.go

    	}
    
    	s := uint(LeadingZeros64(y))
    	y <<= s
    
    	const (
    		two32  = 1 << 32
    		mask32 = two32 - 1
    	)
    	yn1 := y >> 32
    	yn0 := y & mask32
    	un32 := hi<<s | lo>>(64-s)
    	un10 := lo << s
    	un1 := un10 >> 32
    	un0 := un10 & mask32
    	q1 := un32 / yn1
    	rhat := un32 - q1*yn1
    
    	for q1 >= two32 || q1*yn0 > two32*rhat+un1 {
    		q1--
    		rhat += yn1
    		if rhat >= two32 {
    			break
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/img/javaPluginTasks.graphml

              <y:Shape type="roundrectangle"/>
            </y:ShapeNode>
          </data>
        </node>
        <node id="n10">
          <data key="d6">
            <y:ShapeNode>
              <y:Geometry height="30.0" width="140.0" x="0.0" y="23.32352941176471"/>
              <y:Fill color="#C3D9E6" transparent="false"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. docs/en/data/external_links.yml

    b.io/api,/scikit-learn/2019/01/10/scikit-fastapi.html title: 'FastAPI and Scikit-Learn: Easily Deploy Models' - author: Errieta Kostala author_link: https://dev.to/errietta link: https://dev.to/errietta/introduction-to-the-fastapi-python-framework-2n10 title: Introduction to the fastapi python framework - author: Nils de Bruin author_link: https://medium.com/@nilsdebruin link: https://medium.com/data-rebels/fastapi-how-to-add-basic-and-cookie-authentication-a45c85ef47d3 title: FastAPI — How to add...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Jun 12 00:47:57 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Ilogb", Func, 0},
    		{"Inf", Func, 0},
    		{"IsInf", Func, 0},
    		{"IsNaN", Func, 0},
    		{"J0", Func, 0},
    		{"J1", Func, 0},
    		{"Jn", Func, 0},
    		{"Ldexp", Func, 0},
    		{"Lgamma", Func, 0},
    		{"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},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top