Learning may need only a few bits of synaptic precision