So maybe what we should really be using then is sscanf("%f"). All we need is the ability to specify an object whose _sscanf() to call for all conversion specifiers (or those marked with a special flag). The _sscanf can see that the expected format is 'f' or 'O' or whatever.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2004-02-07 18:24: Subject: sscanf and Gmp.mpq
On a higher level of abstraction it is. sprintf("%O") converts an object to a (class specfic) string representation.
Yes, and %O is a theoretically class specific representation back.
But we're talking here of the reversal of sprintf("%f",object) rather then sprintf("%O",object).
/ Mirar