Make float32 and float64 capable