This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Eigen support for quadmath and __float128

Tags: None
(comma "," separated)
meierherbert
Registered Member
Posts
1
Karma
0
Hello,

I just wanted to ask whether there are plans to add support for __float128 and the corresponding functions like sinq cosq etc.

Thanks and kind regards,
Herbert
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
You can readily use boost::multiprecision wrapper of __float128 within Eigen's matrices:

http://www.boost.org/doc/libs/1_64_0/li ... at128.html

Code: Select all
namespace boost{ namespace multiprecision{

class float128_backend;

typedef number<float128_backend, et_off>    float128;

}} // namespaces

typedef Eigen::Matrix<float128,Dynamic,Dynamic> MatrixX128;


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]