Here is a Python library that employs continued fractions to this end: [0]. You can pull successive partial quotients of the result from the root node of the dag. Whenever any node needs more precise input to deliver more precise output, it pulls a partial quotient from its argument(s).
Full disclosure: I wrote the original version of the library 13.5 years ago. Here are the slides from my talk about it: [1].
[0] https://github.com/AdamPrzybyla/python-cf
[1] https://marcinciura.files.wordpress.com/2019/10/cf-slides.pd...