1 Nov
2019
1 Nov
'19
5:14 p.m.
Hi, trying to inhibit floating point underflow exceptions, but it doesn't seem to work. What am I doing wrong? #include <cln/cln.h> int main() { cln::cl_inhibit_floating_point_underflow = true; cln::cl_N x = 10.0; cln::cl_N ep = 100.0; cln::cl_N y = cln::expt(x, ep); cln::cl_N z = cln::expt(x, -y); } Running this program still gives me an underflow exception. Thanks for any hints. Jan