Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    	bigThousand = big.NewInt(1000)
    	big1024     = big.NewInt(1024)
    
    	// Commonly needed inf.Dec values-- treat as read only!
    	decZero = inf.NewDec(0, 0)
    	decOne  = inf.NewDec(1, 0)
    
    	// Largest (in magnitude) number allowed.
    	maxAllowed = infDecAmount{inf.NewDec((1<<63)-1, 0)} // == max int64
    
    	// The maximum value we can represent milli-units for.
    	// Compare with the return value of Quantity.Value() to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 23 13:07:14 UTC 2020
    - 7.3K bytes
    - Viewed (0)
Back to top