reflection: Add support for float and double