Hi Richard,
First and foremost we need a syntax that actually works for the Fortran frontend and a way to automatically include this special header / module.
I can imagine parsing the relevant headers while compiling gfortran and generating C code from it, which could then be #included in the compiler source code. It should be possible to extend mathbuiltins.def that way. How does that sound? Regards Thomas