As I said I tried several things. My experience is that if one includes <cln/cln.h> all
the rest is automatically included. I have never registered any difference with explicit inclusion
on various linux and MacOS distributions.
/* File: demo.cc
Compilation: g++ -g -O2 -o demo demo.cc -lcln
*/
//bool cln::cl_inhibit_floating_point_underflow = true;
#include <cln/cln.h>
#include <cln/float.h>
//using namespace std;
using namespace cln;
//bool cln::cl_inhibit_floating_point_underflow = true;
bool cl_inhibit_floating_point_underflow = true;
int main()
{
float_format_t precision = float_format(50);
cl_F x = least_positive_float(precision);
while(x > cl_float(0, precision) ) {
std::cout << x << std::endl;
x *= x;
}
}