Binary package “spigot” in ubuntu disco

Exact real calculator

 spigot is an exact real calculator: that is, you give it a
 mathematical expression to evaluate, and it computes it to any
 desired precision, by default simply printing digits to standard
 output until it is interrupted.