[common-dylan] Do math in Dylan, not call out to C.