PERF: Optimize array check for bounded 0,1 values
PERF: Optimize array check for bounded 0,1 values

Optimize frequent check for probabilities when they are doubles

pdebuyl/numpy,rgommers/numpy,numpy/numpy,numpy/numpy,jakirkham/numpy,charris/numpy,mhvk/numpy,charris/numpy,rgommers/numpy,mhvk/numpy,jakirkham/numpy,mhvk/numpy,anntzer/numpy,numpy/numpy,pdebuyl/numpy,anntzer/numpy,mhvk/numpy,seberg/numpy,endolith/numpy,mattip/numpy,rgommers/numpy,jakirkham/numpy,endolith/numpy,mattip/numpy,anntzer/numpy,seberg/numpy,endolith/numpy,charris/numpy,seberg/numpy,mattip/numpy,mhvk/numpy,jakirkham/numpy,numpy/numpy,rgommers/numpy,pdebuyl/numpy,charris/numpy,endolith/numpy,pdebuyl/numpy,anntzer/numpy,mattip/numpy,seberg/numpy,jakirkham/numpy