debugged bitvector mantissa

This commit is contained in:
2022-07-05 21:19:09 +02:00
parent 31858216be
commit bcec9491f7
2 changed files with 15 additions and 3 deletions

14
t.cc
View File

@@ -2585,11 +2585,23 @@ x.concatme(y);
cout <<x;
}
if(1)
if(0)
{
double x;
cin>>x;
cout <<mantissa(x,20)<<endl;
}
if(1)
{
double t,t2;
cin>>t;
bitvector m = mantissa(t,64);
cout <<m<<std::endl;
bitvector_decimal(t2,m);
cout <<t2;
}
}