Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 2718e28 (1.06 sec)

  1. src/math/big/float_test.go

    // TestFloatArithmeticSpecialValues tests that Float operations produce the
    // correct results for combinations of zero (±0), finite (±1 and ±2.71828),
    // and infinite (±Inf) operands.
    func TestFloatArithmeticSpecialValues(t *testing.T) {
    	zero := 0.0
    	args := []float64{math.Inf(-1), -2.71828, -1, -zero, zero, 1, 2.71828, math.Inf(1)}
    	xx := new(Float)
    	yy := new(Float)
    	got := new(Float)
    	want := new(Float)
    	for i := 0; i < 4; i++ {
    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/types2/api_test.go

    type T struct{}
    var Y, _ = lib.X, X
    
    func F[T *U, U any](param1, param2 int) /*param1=undef*/ (res1 /*res1=undef*/, res2 int) /*param1=var:12*/ /*res1=var:12*/ /*U=typename:12*/ {
    	const pi, e = 3.1415, /*pi=undef*/ 2.71828 /*pi=const:13*/ /*e=const:13*/
    	type /*t=undef*/ t /*t=typename:14*/ *t
    	print(Y) /*Y=var:10*/
    	x, Y := Y, /*x=undef*/ /*Y=var:10*/ Pi /*x=var:16*/ /*Y=var:16*/ ; _ = x; _ = Y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  3. src/go/types/api_test.go

    type T struct{}
    var Y, _ = lib.X, X
    
    func F[T *U, U any](param1, param2 int) /*param1=undef*/ (res1 /*res1=undef*/, res2 int) /*param1=var:12*/ /*res1=var:12*/ /*U=typename:12*/ {
    	const pi, e = 3.1415, /*pi=undef*/ 2.71828 /*pi=const:13*/ /*e=const:13*/
    	type /*t=undef*/ t /*t=typename:14*/ *t
    	print(Y) /*Y=var:10*/
    	x, Y := Y, /*x=undef*/ /*Y=var:10*/ Pi /*x=var:16*/ /*Y=var:16*/ ; _ = x; _ = Y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top