I would like to use __float128 with eigen's erf() function, but found out that currently it only supports floats and doubles:
This function supports only float and double scalar types in c++11 mode. To support other scalar types, or float/double in non c++11 mode, the user has to provide implementations of erf(T) for any scalar type T to be supported.
As I want to use __float128, I want to rely on libquadmaths erfq implementation if that is possible. But how to do that?
The only (ugly?) way I can currently think of is using eigens unaryExpr(). Are there other possibilities?