> yes, they do, as do almost all floating points implementation. > > Memory limited float values and their respective operations are still useful > in many areas, but financial values and the likes. Scaled integers are the > way for accuracy. > > > Also, side note, gmp recommends to rely on https://www.mpfr.org/ for accurate > FP operations
Hi This seems to be a floating point number with extremely high precision compared to regular long doubles. However, as you say, even though the accuracy is very high, errors still occur. (the error is so small that it almost never becomes a problem.) By its very nature, BCMath does not introduce any errors. It is debatable whether floating point calculations in GMP can play the role of BCMath. Regards. Saki