Yes, in fact I was inaccurate: the problem did not stem from the fact that the numbers are small, but from the fact that I must necessarily multiply and add up an enormous quantity of numbers that can differ from each other by many orders of magnitude. I suspect that this was the cause of the discrepancy of some results that I observed, while now this discrepancy has clearly disappeared with the BigFloats, which (although they are probably not the best existing solutions in terms of precision and efficiency) for the moment are more than enough to effectively solve the problem. For any future needs I will definitely come back to consult this topic, since extremely interesting discussions have arisen.
I am very happy that there are forums like these!