Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,784 for nmPath (0.14 sec)

  1. src/math/cmplx/example_test.go

    package cmplx_test
    
    import (
    	"fmt"
    	"math"
    	"math/cmplx"
    )
    
    func ExampleAbs() {
    	fmt.Printf("%.1f", cmplx.Abs(3+4i))
    	// Output: 5.0
    }
    
    // ExampleExp computes Euler's identity.
    func ExampleExp() {
    	fmt.Printf("%.1f", cmplx.Exp(1i*math.Pi)+1)
    	// Output: (0.0+0.0i)
    }
    
    func ExamplePolar() {
    	r, theta := cmplx.Polar(2i)
    	fmt.Printf("r: %.1f, θ: %.1f*π", r, theta/math.Pi)
    	// Output: r: 2.0, θ: 0.5*π
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 19:49:12 UTC 2016
    - 567 bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.randomDouble;
    import static com.google.common.math.MathBenchmarking.randomPositiveDouble;
    
    import com.google.caliper.BeforeExperiment;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

    import static com.google.common.math.MathTesting.FRACTIONAL_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.INFINITIES;
    import static com.google.common.math.MathTesting.INTEGRAL_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.POSITIVE_FINITE_DOUBLE_CANDIDATES;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. src/math/cmplx/log.go

    // absolute error 1.0e-16.
    
    // Log returns the natural logarithm of x.
    func Log(x complex128) complex128 {
    	return complex(math.Log(Abs(x)), Phase(x))
    }
    
    // Log10 returns the decimal logarithm of x.
    func Log10(x complex128) complex128 {
    	z := Log(x)
    	return complex(math.Log10E*real(z), math.Log10E*imag(z))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/math/IntMathRoundingBenchmark.java

     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
    import static com.google.common.math.MathBenchmarking.randomNonZeroBigInteger;
    import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/ToDoubleRounder.java

     * the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.math.RoundingMode;
    
    /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. test/fixedbugs/issue12577.go

    }
    
    func test64(f float64) {
    	if f != 0 || math.Signbit(f) {
    		println("BUG: got", f, "want 0.0")
    		return
    	}
    }
    
    func main() {
    	if f := -x0; f != 0 || !math.Signbit(float64(f)) {
    		println("BUG: got", f, "want -0.0")
    	}
    
    	test32(-0.0)
    	test32(x0)
    	test32(x1)
    	test32(x2)
    	test32(x3)
    
    	if f := -y0; f != 0 || !math.Signbit(f) {
    		println("BUG: got", f, "want -0.0")
    	}
    
    	test64(-0.0)
    	test64(y0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 22:11:11 UTC 2015
    - 1011 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/gcflags_patterns.txt

    # -ldflags applies to link of command
    go build -a -n -ldflags=-X=math.pi=3 my/cmd/prog
    stderr 'link.* -X=math.pi=3'
    
    # -ldflags applies to link of command even with strange directory name
    go build -a -n -ldflags=-X=math.pi=3 my/cmd/prog/
    stderr 'link.* -X=math.pi=3'
    
    # -ldflags applies to current directory
    cd my/cmd/prog
    go build -a -n -ldflags=-X=math.pi=3
    stderr 'link.* -X=math.pi=3'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 21 14:58:44 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
    import static com.google.common.math.MathBenchmarking.randomDouble;
    import static com.google.common.math.MathBenchmarking.randomPositiveDouble;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
    import static com.google.common.math.MathBenchmarking.randomExponent;
    import static com.google.common.math.MathBenchmarking.randomNonNegativeBigInteger;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
Back to top