Increasing PDF Precision

I was wondering if there’s a way to increase the precision of a PDF. We have a PDF goes down from O(0.1) to O(1e-50). From the attachment you can see that the PDF precision ends at about 1e-40. The rest of the entries are 0 exactly.


There is no much you can do, you are limited by the double precision. Unfortunately not all pdf in RooFit have a method which implements directly the log of the pdf instead of computing first the pdf and then its log

Best Regards