Can the math precision and accuracy of PostScript be improved? Its out-of-the-box six decimal point reported answers were not quite good enough for at least some of my Magic Sinewave research.
A case can be made that more than six decimal results would only lengthen font files without any measurable result in most graphic applications.
But 31 bit plus sign math should be good for two billion states, or over nine decimal points. Minus where they stopped in any of their transcendental approximation algorithms.
Here's a preliminary experiment: The square root of two in PS returns 1.41421 . Rounding to four decimal places and subtracting gives .0000135899.
Combining the two returns 1.4142 1358 99. Compared against the "real" answer of 1.4142 1356 23. Which is right on at eight decimal places, and not too bad at nine.
A simple text reformatter that does the combinations for you should be possible. And based on our Gonzo mergestr convenience operator.
Again, you would have to compare exactly what you wanted against the individual algorithms in use for the fancier functions.
More at