JuliaLang/julia — pull request #6078 by andreasnoackjensen (2014-03-07 13:00:42+00:00)
Title: Let floatx and complexx use convert. Fix similar for sparse matrices.

Fixes #6051, but unsure if `convert(typeof(x).name.primary{$T}, x)` is the right approach for `float32(AbstractArray)` etc. It feels like a hack.