code: func (d *MyDecimal) FromUint(val uint64) *MyDecimal {
  	x := val
  	wordIdx := 1
  	for x >= wordBase {
  		wordIdx++
  		x /= wordBase
  	}
  	d.digitsFrac = 0
  	d.digitsInt = int8(wordIdx * digitsPerWord)
  	x = val
  	for wordIdx > 0 {
  		wordIdx--
  		y := x / wordBase
  		d.wordBuf[wordIdx] = int32(x - y*wordBase)
  		x = y
  	}
  	return d
  }
docs: // FromUint sets the decimal value from uint64.