Commit fee1d49b authored by Marius Gerbershagen's avatar Marius Gerbershagen

fix float-precision for long floats

parent 2b7d0bdb
Pipeline #46842179 (#213) passed with stage
......@@ -335,7 +335,7 @@ cl_float_precision(cl_object x)
precision = 0;
} else {
int exp;
frexp(f, &exp);
frexpl(f, &exp);
if (exp >= LDBL_MIN_EXP) {
precision = LDBL_MANT_DIG;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment