code: func (q *Quantity) Sign() int {
  	if q.d.Dec != nil {
  		return q.d.Dec.Sign()
  	}
  	return q.i.Sign()
  }
docs: // Sign returns 0 if the quantity is zero, -1 if the quantity is less than zero, or 1 if the
  // quantity is greater than zero.