Parameterized Types and MSVC Complex Portability

Precision is not a number. It is a contract between the programmer and the hardware. Fortran encodes this contract in the type system. C and Python do not. Bridging both gaps at once is what this post covers. Background # Previous posts covered the three-layer architecture for wrapping non- bind(c) Fortran types. That pipeline assumed fixed types. So what happens when the Fortran type itself…