From kreckel at in.terlu.de Mon Apr 22 12:06:23 2019 From: kreckel at in.terlu.de (Richard B. Kreckel) Date: Mon, 22 Apr 2019 12:06:23 +0200 Subject: [CLN-list] [GiNaC-list] how to convert CLN __float128 and long double? In-Reply-To: <4140c9d1.3097f.16a1e1d614c.Coremail.fengfeng@mail.itp.ac.cn> References: <4140c9d1.3097f.16a1e1d614c.Coremail.fengfeng@mail.itp.ac.cn> Message-ID: <20ad99cf-ec03-0500-bbbd-fc8fa3f71eb1@in.terlu.de> Hello Feng Feng, On 15.04.19 01:10, Feng Feng wrote: > I wonder if there is a way to convert the cl_N or GiNaC numeric type to c++ __float128 or long double? since the both also appear in CUBA. I don't konw what long double is in CUBA, but in general it may vary between platforms. But conversion to and from fp128 types would make sense, IMO. In any case, this has little to do with GiNaC and is best discussed on cln-list at ginac.de (cross posting there). Best, -richy. --