[Rtti] TValue.Cast for float types

Now TValue.Cast reinterprete memory for number types. This works for integer types, but not for float types. for example WriteLn(TValue.From<Int8>(-10).Cast<Single>().AsType<Single>); returns NAN. This patch adds support float types conversions

Patch and test Patch.patch

Edited by Евгений Савин
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information