add custom types
Add some custom types with the keyword custom
in the yml file:
custom:
float: F32
double: F64
quad: F128
Then, instead of using __PR_xxxx__
, use __PRC_xxxx__
and it we use F32
, F64
and F128
instead of float
, double
and quad
respectively. It can be use in the function if you want to use different function depending on a type, like __PRC_xxxx_foo(x,y);
if you want to use F32foo
or F64foo
depending if the type xxxx
is set to float
or double
Edited by Thibault Hilaire