- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have some very old code here where we utilized functions that caused floating point divide by zero and other floating point exceptions to return a result of zero. I know we should check the inputs for the arguments to functions and divisions but I was interested in knowing if it was possible to write a floating point exception handler that would trap the exceptions and return the result as zero instead of NaN or Inf.
Thanks
Thanks
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page