Define macro functions for all C functions that have f32/f64 versions.
Define ClarabelFloat for floating-point types.
Add macro CLARABEL_USE_FLOAT to control the floating-point type used.
Users can choose a specific version using specific functions with a _f32 or _f64 suffix or use the macros which are mapped to either float or double depending on whether CLARABEL_USE_FLOAT is defined.
CLARABEL_USE_FLOAT
to control the floating-point type used.Users can choose a specific version using specific functions with a
_f32
or_f64
suffix or use the macros which are mapped to either float or double depending on whetherCLARABEL_USE_FLOAT
is defined.