code: func MinTrits(value int64) uint64 {
  	var num uint64 = 1
  	var vp uint64 = 1
  
  	valueAbs := uint64(MustAbsInt64(value))
  
  	for uint64(valueAbs) > vp {
  		vp = vp*uint64(Radix) + 1
  		num++
  	}
  	return num
  }
docs: // MinTrits returns the length of trits needed to encode the value.