Revert change that break too many test in floatX=float32
Merge pull request #2305 from nouiz/revert

Revert change that break too many test in floatX=float32