1 Nov
2019
1 Nov
'19
8:41 p.m.
Hi Jan, On 01.11.19 17:14, Jan Rheinländer wrote:
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.
You have found a bug. Thanks a lot for reporting it! I've committed a patch. All my best, -richy.