Allow float32 and 64 to work