I meant, where is it useful enough not to send the data through a string to make Gmp.mpq objects out of after the sscanf?
If you add Gmp.mpq, also add Gmp.mpf.
The big benefit would of course be a review of Gmp.mpq's _sprintf. :)
/ Mirar
Previous text:
2004-02-07 15:15: Subject: sscanf and Gmp.mpq
Not sure whether I understand the question, but whenever you deal with rational numbers and do not want to lose precision in calculations you want to use Gmp.mpq, rather than floats, doubles or Gmp.mpf:s.
Or, if you were referring to my particular current application, I am toying with an SVG optimiser/pretty-printer. (It's in good style not to degrade the quality of the input file.)
/ Johan Sundström (Achtung Liebe!)