20 Sep
2010
20 Sep
'10
9:07 p.m.
Hi, is there maybe a bug in the implementation of double_approx()? If I do something like #include <iostream> #include <cln/cln.h> using namespace std; using namespace cln; int main() { cl_F c = cl_F("1.23456789012345678901234567890_200"); cout << c << endl; cout << double_approx(c) << endl; return 0; } the second output gives only single precision (aka float_approx)! Regards, Jens