mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-22 00:32:44 +00:00
sane tweaks.
This commit is contained in:
parent
0e3f151a0c
commit
ee15d06654
@ -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);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user