j
k
j a
j l
Does the floating point to rational multiprecision-types really don't loss information, i.e. does the following hold? double d1 = 0.1; rational_mp r1 = d1; double d2 = double(r1); rational_mp r2 = d2; assert(r1==r2);
Does the floating point to rational multiprecision-types really don't loss information, i.e. does the following hold?
double d1 = 0.1; rational_mp r1 = d1; double d2 = double(r1); rational_mp r2 = d2; assert(r1==r2);
It does hold yes. John.
Back to the thread
Back to the list