Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 356 for exp5 (0.04 sec)

  1. src/math/big/ratconv.go

    			exp2 = d * 4 // hexadecimal digits are 4 bits each
    		default:
    			panic("unexpected mantissa base")
    		}
    		// fcount consumed - not needed anymore
    	}
    
    	// take actual exponent into account
    	switch ebase {
    	case 10:
    		exp5 += exp
    		fallthrough // see fallthrough above
    	case 2:
    		exp2 += exp
    	default:
    		panic("unexpected exponent base")
    	}
    	// exp consumed - not needed anymore
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/expr.go

    	}
    	return n
    }
    
    // tcSlice typechecks an OSLICE or OSLICE3 node.
    func tcSlice(n *ir.SliceExpr) ir.Node {
    	n.X = DefaultLit(Expr(n.X), nil)
    	n.Low = indexlit(Expr(n.Low))
    	n.High = indexlit(Expr(n.High))
    	n.Max = indexlit(Expr(n.Max))
    	hasmax := n.Op().IsSlice3()
    	l := n.X
    	if l.Type() == nil {
    		n.SetType(nil)
    		return n
    	}
    	if l.Type().IsArray() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. src/go/build/constraint/expr.go

    	return andArg(x.X) + " && " + andArg(x.Y)
    }
    
    func andArg(x Expr) string {
    	s := x.String()
    	if _, ok := x.(*OrExpr); ok {
    		s = "(" + s + ")"
    	}
    	return s
    }
    
    func and(x, y Expr) Expr {
    	return &AndExpr{x, y}
    }
    
    // An OrExpr represents the expression X || Y.
    type OrExpr struct {
    	X, Y Expr
    }
    
    func (x *OrExpr) isExpr() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/expr.go

    			return n
    		}
    		a := ir.Copy(n).(*ir.UnaryExpr)
    		a.X = l
    		return walkExpr(typecheck.Expr(a), init)
    
    	case ir.ODOT, ir.ODOTPTR:
    		n := n.(*ir.SelectorExpr)
    		l := safeExpr(n.X, init)
    		if l == n.X {
    			return n
    		}
    		a := ir.Copy(n).(*ir.SelectorExpr)
    		a.X = l
    		return walkExpr(typecheck.Expr(a), init)
    
    	case ir.ODEREF:
    		n := n.(*ir.StarExpr)
    		l := safeExpr(n.X, init)
    		if l == n.X {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. src/math/rand/v2/exp.go

    		i := uint8(u >> 32)
    		x := float64(j) * float64(we[i])
    		if j < ke[i] {
    			return x
    		}
    		if i == 0 {
    			return re - math.Log(r.Float64())
    		}
    		if fe[i]+float32(r.Float64())*(fe[i-1]-fe[i]) < float32(math.Exp(-x)) {
    			return x
    		}
    	}
    }
    
    var ke = [256]uint32{
    	0xe290a139, 0x0, 0x9beadebc, 0xc377ac71, 0xd4ddb990,
    	0xde893fb8, 0xe4a8e87c, 0xe8dff16a, 0xebf2deab, 0xee49a6e8,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:08:47 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. src/math/rand/exp.go

    		i := j & 0xFF
    		x := float64(j) * float64(we[i])
    		if j < ke[i] {
    			return x
    		}
    		if i == 0 {
    			return re - math.Log(r.Float64())
    		}
    		if fe[i]+float32(r.Float64())*(fe[i-1]-fe[i]) < float32(math.Exp(-x)) {
    			return x
    		}
    	}
    }
    
    var ke = [256]uint32{
    	0xe290a139, 0x0, 0x9beadebc, 0xc377ac71, 0xd4ddb990,
    	0xde893fb8, 0xe4a8e87c, 0xe8dff16a, 0xebf2deab, 0xee49a6e8,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/call.go

    				x.mode = constant_
    				x.typ = exp.typ
    				x.val = exp.val
    			case *TypeName:
    				x.mode = typexpr
    				x.typ = exp.typ
    			case *Var:
    				x.mode = variable
    				x.typ = exp.typ
    				if pkg.cgo && strings.HasPrefix(exp.name, "_Cvar_") {
    					x.typ = x.typ.(*Pointer).base
    				}
    			case *Func:
    				x.mode = funcMode
    				x.typ = exp.typ
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. src/go/types/call.go

    					_, exp = check.scope.LookupParent(prefix+sel, check.pos)
    					if exp != nil {
    						break
    					}
    				}
    				if exp == nil {
    					check.errorf(e.Sel, UndeclaredImportedName, "undefined: %s", ast.Expr(e)) // cast to ast.Expr to silence vet
    					goto Error
    				}
    				check.objDecl(exp, nil)
    			} else {
    				exp = pkg.scope.Lookup(sel)
    				if exp == nil {
    					if !pkg.fake {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> y = list("3", "4");
    
        List<Object> exp1 = list((Object) 1, "3");
        List<Object> exp2 = list((Object) 1, "4");
        List<Object> exp3 = list((Object) 2, "3");
        List<Object> exp4 = list((Object) 2, "4");
    
        assertThat(Lists.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
      public void testCartesianProductTooBig() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> y = list("3", "4");
    
        List<Object> exp1 = list((Object) 1, "3");
        List<Object> exp2 = list((Object) 1, "4");
        List<Object> exp3 = list((Object) 2, "3");
        List<Object> exp4 = list((Object) 2, "4");
    
        assertThat(Lists.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
      public void testCartesianProductTooBig() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top