Added support for single precision.