Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2009 03:46 AM
тАО06-20-2009 03:46 AM
NANQ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2009 05:45 AM
тАО06-20-2009 05:45 AM
Re: NANQ
Doctor: "Don't do that."
> I do math calculation in OpenVMS I64. [...]
Language? VMS is a big place.
> In general how to handle it?
"In general" is also a big place.
Many programming languages offer an "if"
statement, which can be used to check for
valid data before performing any calculation
which has an obvious restriction on its
domain.
Alternatively, in many environments, one can
establish an exception/signal handler,
letting a program's execution path change
when a math error occurs.
HELP CRTL signal
HELP RTL_ROUTINES LIB$ LIB$ESTABLISH
[...]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2009 06:49 AM
тАО06-20-2009 06:49 AM
Re: NANQ
HELP FORTRAN /IEEE_MODEand
HELP FORTRAN INTRINSIC ERRSNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2009 04:56 PM
тАО06-20-2009 04:56 PM
Re: NANQ
Or if you have IEEE, you can check the flags there.
>Steven: Many programming languages offer an "if" statement, which can be used to check for
valid data before performing any calculation
IEEE FP operations defines all inputs with valid outputs that can be checked later.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 01:06 AM
тАО06-22-2009 01:06 AM
Re: NANQ
On my Alpha's I normally run in VAX-float mode and use the /check=all on the compiler line.
This forces all the run time errors to be flagged and the program to stop and write a trace-back.
You can also use the /check qualifier to test only for the i.e. divide by zero. See the user manual of the compiler, for the possible options.
Jouk