sane tweaks.

This commit is contained in:
Kelvin Sherlock 2016-11-16 21:54:07 -05:00
parent 0e3f151a0c
commit ee15d06654

View File

@ -24,6 +24,8 @@
*
*/
#include "config.h"
#include "qd.h"
#include "toolbox.h"
#include "sane.h"
@ -59,6 +61,8 @@ using its_complicated::to_string;
using its_complicated::fpclassify;
using its_complicated::signbit;
using std::to_string;
namespace {
// default environment is:
// rounding direction: to nearest
@ -412,7 +416,7 @@ using its_complicated::signbit;
if (df.digits < 0) df.digits = 0;
if (df.digits > 19) df.digits = 19;
fpinfo fpi(s);
fp::info fpi(s);
//fprintf(stderr, "%02x %02x %d %016llx\n", fpi.sign, fpi.one, fpi.exp, fpi.sig);