Is it possible to handle headers with `__float128`?
Opened this issue · 1 comments
Gnimuc commented
Discussed in #508
Originally posted by amontoison August 30, 2024
Some Fortran libraries, like CUTEst
, can be easily compiled in quadruple precision with the gfortran
compiler.
The associated type in the header file to call the routines from C is __float128
and is equivalent to Float128
(implemented in Quadmath.jl
).
It will be a nice feature to add an option to generate Julia wrappers for this precision. We just need to add using Quadmath
at the top of the generated file if Julia wrappers can be generated.
I have a package where I need to write these additional wrappers by hand:
Gnimuc commented
Clang.jl/src/generator/jltypes.jl
Line 145 in 9c77fd6