| 1: | func @iToF = <{FROM: Type, TO: Type}> (from: FROM) -> TO; |
Convert any integral type to any floating-point type
FROM: type to convert from - must be integral or vector or integral
TO: type to convert to - must be floating-point or vector or floating-point
from: value to convert
Returns converted value
FROM and TO must be both a vector or neither a vector. If they are a vector, they must contain the same number of elements.
(TODO)
| @fext | Extend any floating-point type to any other larger floating-point type |