
Paul A Bristow wrote:
| > The current state also lacks extensibility. It is not | acceptable to rely | > on an external code generator. We have a great preprocessor | library for | > jobs like this one. It is desirable to have user-defined | constants for | > arbitrary types, which can be defined from within user code | on-the-fly, | > using a self-contained code generator. | > | | This sounds like a pretty cool idea to me.
Well cool indeed - provided the preprocessor can do 50 decimal digit accuracy floating point ;-)
So far macros seem to be struggling with ANY floating point calculations!
The preprocessor is only used for pasting in my example, no calculations are involved - the precision of the values depends on the quality of the input. A misunderstanding ?? Regards, Tobias