We are currently developing an _expression_ parser and evaluator for a
modified financial statement report. I need to check overflow, underflow,
not a number (NaN) condition, in semantic analyzer. But unfortunately I
cannot find some standard supported functions for doing these. When I use
standard math functions, like power(x, y), it seems no exception thrown for
such out-of-range conditions, and only wrap-around operation applied. It
means, unreliable results will be given without any warnings.
Are there any standard status functions which must be checked after any math
operations, to check such conditions (overflow, underflow, NaN) ? Or should
I create my own function to validate floating point value according to IEEE
floating point format specification ?
Thank you for your prompt answers.
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

