Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for int64Multiply (0.19 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    		if scale >= int32(Nano) {
    			shifted := num + denom
    
    			var value int64
    			value, err := strconv.ParseInt(shifted, 10, 64)
    			if err != nil {
    				return Quantity{}, ErrNumeric
    			}
    			if result, ok := int64Multiply(value, int64(mantissa)); ok {
    				if !positive {
    					result = -result
    				}
    				// if the number is in canonical form, reuse the string
    				switch format {
    				case BinarySI:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top