Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ldexp (0.08 sec)

  1. src/fmt/scan.go

    		}
    		m, err := strconv.Atoi(str[p+1:])
    		if err != nil {
    			// Put full string into error.
    			if e, ok := err.(*strconv.NumError); ok {
    				e.Num = str
    			}
    			s.error(err)
    		}
    		return math.Ldexp(f, m)
    	}
    	f, err := strconv.ParseFloat(str, n)
    	if err != nil {
    		s.error(err)
    	}
    	return f
    }
    
    // scanComplex converts the next token to a complex128 value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/delmarker-expiration.go

    	type delMarkerExpiration DelMarkerExpiration
    	var dexp delMarkerExpiration
    	err := dec.DecodeElement(&dexp, &start)
    	if err != nil {
    		return err
    	}
    
    	if dexp.Days <= 0 {
    		return errInvalidDaysDelMarkerExpiration
    	}
    
    	*de = DelMarkerExpiration(dexp)
    	return nil
    }
    
    // MarshalXML encodes a DelMarkerExpiration value into an XML element
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/delmarker-expiration_test.go

    			err: errInvalidDaysDelMarkerExpiration,
    		},
    	}
    
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("TestDelMarker-%d", i), func(t *testing.T) {
    			var dexp DelMarkerExpiration
    			var fail bool
    			err := xml.Unmarshal([]byte(test.xml), &dexp)
    			if test.err == nil {
    				if err != nil {
    					fail = true
    				}
    			} else {
    				if err == nil {
    					fail = true
    				}
    				if test.err.Error() != err.Error() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Gamma", Func, 0},
    		{"Hypot", Func, 0},
    		{"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},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm64/asm7.go

    			c.ctxt.Diag("illegal FCCMP\n%v", p)
    			break
    		}
    		rt := int(p.GetFrom3().Reg)
    		o1 |= uint32(rf&31)<<16 | uint32(cond&15)<<12 | uint32(rt&31)<<5 | uint32(nzcv)
    
    	case 58: /* ldar/ldarb/ldarh/ldaxp/ldxp/ldaxr/ldxr */
    		o1 = c.opload(p, p.As)
    
    		o1 |= 0x1F << 16
    		o1 |= uint32(p.From.Reg&31) << 5
    		if p.As == ALDXP || p.As == ALDXPW || p.As == ALDAXP || p.As == ALDAXPW {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
Back to top