Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 130 for _sin (0.11 sec)

  1. test/typeparam/slices.go

    	if got, want := _SliceMin(s1), -5; got != want {
    		panic(fmt.Sprintf("_Min(%v) = %d, want %d", s1, got, want))
    	}
    
    	s2 := []string{"aaa", "a", "aa", "aaaa"}
    	if got, want := _SliceMin(s2), "a"; got != want {
    		panic(fmt.Sprintf("_Min(%v) = %q, want %q", s2, got, want))
    	}
    
    	if got, want := _SliceMin(s2[:0]), ""; got != want {
    		panic(fmt.Sprintf("_Min(%v) = %q, want %q", s2[:0], got, want))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  2. tensorflow/c/kernels/merge_summary_op.cc

        for (int i = 0; i < TF_TensorElementCount(safe_input_ptr.get()); ++i) {
          const tensorflow::tstring& s_in = tags_array[i];
          tensorflow::Summary summary_in;
          if (!tensorflow::ParseProtoUnlimited(&summary_in, s_in)) {
            TF_SetStatus(status.get(), TF_INVALID_ARGUMENT,
                         "Could not parse one of the summary inputs");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 31 03:28:11 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  3. src/math/asin_s390x.s

    DATA ·asinrodataL15<> + 208(SB)/8, $1.0
    DATA ·asinrodataL15<> + 216(SB)/8, $1.00000000000000000e-20
    GLOBL ·asinrodataL15<> + 0(SB), RODATA, $224
    
    // Asin returns the arcsine, in radians, of the argument.
    //
    // Special cases are:
    //      Asin(±0) = ±0=
    //      Asin(x) = NaN if x < -1 or x > 1
    // The algorithm used is minimax polynomial approximation
    // with coefficients determined with a Remez exchange algorithm.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 20 17:42:08 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  4. src/math/lgamma.go

    //   4. For negative x, since (G is gamma function)
    //              -x*G(-x)*G(x) = pi/sin(pi*x),
    //      we have
    //              G(x) = pi/(sin(pi*x)*(-x)*G(-x))
    //      since G(-x) is positive, sign(G(x)) = sign(sin(pi*x)) for x<0
    //      Hence, for x<0, signgam = sign(sin(pi*x)) and
    //              lgamma(x) = log(|Gamma(x)|)
    //                        = log(pi/(|x*sin(pi*x)|)) - lgamma(-x);
    //      Note: one should avoid computing pi*(-x) directly in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 11K bytes
    - Viewed (0)
  5. src/runtime/signal_plan9.go

    package runtime
    
    type sigTabT struct {
    	flags int
    	name  string
    }
    
    // Incoming notes are compared against this table using strncmp, so the
    // order matters: longer patterns must appear before their prefixes.
    // There are _SIG constants in os2_plan9.go for the table index of some
    // of these.
    //
    // If you add entries to this table, you must respect the prefix ordering
    // and also update the constant values is os2_plan9.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 07 16:25:17 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  6. src/net/netip/netip_pkg_test.go

    		// ParseAddrPort and String. Divergent behavior are handled in
    		// TestAddrPortMarshalUnmarshal.
    		t.Run(test.in+"/Marshal", func(t *testing.T) {
    			var got AddrPort
    			jsin := `"` + test.in + `"`
    			err := json.Unmarshal([]byte(jsin), &got)
    			if err != nil {
    				if test.wantErr {
    					return
    				}
    				t.Fatal(err)
    			}
    			if got != test.want {
    				t.Errorf("got %v; want %v", got, test.want)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 15:37:19 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. src/math/huge_test.go

    		}
    	}
    }
    
    func TestHugeSin(t *testing.T) {
    	for i := 0; i < len(trigHuge); i++ {
    		f1 := sinHuge[i]
    		f2 := Sin(trigHuge[i])
    		if !close(f1, f2) {
    			t.Errorf("Sin(%g) = %g, want %g", trigHuge[i], f2, f1)
    		}
    		f3 := Sin(-trigHuge[i])
    		if !close(-f1, f3) {
    			t.Errorf("Sin(%g) = %g, want %g", -trigHuge[i], f3, -f1)
    		}
    	}
    }
    
    func TestHugeSinCos(t *testing.T) {
    	for i := 0; i < len(trigHuge); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 16:23:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. src/math/cmplx/tan.go

    		}
    		return complex(math.Copysign(0, math.Sin(2*re)), math.Copysign(1, im))
    	case re == 0 && math.IsNaN(im):
    		return x
    	}
    	d := math.Cos(2*real(x)) + math.Cosh(2*imag(x))
    	if math.Abs(d) < 0.25 {
    		d = tanSeries(x)
    	}
    	if d == 0 {
    		return Inf()
    	}
    	return complex(math.Sin(2*real(x))/d, math.Sinh(2*imag(x))/d)
    }
    
    // Complex hyperbolic tangent
    //
    // DESCRIPTION:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.hasMessage
    import assertk.assertions.isEqualTo
    import assertk.assertions.isIn
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.UnknownHostException
    import java.time.Duration
    import java.util.Arrays
    import java.util.concurrent.TimeUnit
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/math/sin_s390x.s

    GLOBL sincoss7<>+0(SB), RODATA, $8
    
    // Sin returns the sine of the radian argument x.
    //
    // Special cases are:
    //      Sin(±0) = ±0
    //      Sin(±Inf) = NaN
    //      Sin(NaN) = NaN
    // The algorithm used is minimax polynomial approximation.
    // with coefficients determined with a Remez exchange algorithm.
    
    TEXT ·sinAsm(SB),NOSPLIT,$0-16
    	FMOVD   x+0(FP), F0
    	//special case Sin(±0) = ±0
    	FMOVD   $(0.0), F1
    	FCMPU   F0, F1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 04:25:54 UTC 2023
    - 8.6K bytes
    - Viewed (0)
Back to top