Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8137377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:05:50+00:00 2026-06-06T11:05:50+00:00

I seem to remember at a previous job, when tracking down a certain bug

  • 0

I seem to remember at a previous job, when tracking down a certain bug I added a call to a function that made sure that floating point errors got reported in some way. I don’t remember exactly how – probably a callback, or maybe it caused a break in Visual Studio immediately when it happened.

Tried searching for this but got nothing. Does this ring a bell for anyone? This is for a Windows game, if that matters.

(I’m not talking about enabling first-chance exceptions in Visual Studio, I want to catch it “live” as well).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:05:55+00:00Added an answer on June 6, 2026 at 11:05 am

    It’s called the floating-point environment. References:

    • http://en.cppreference.com/w/cpp/numeric/fenv (C++11)
    • http://pubs.opengroup.org/onlinepubs/009604599/basedefs/fenv.h.html (Unix)

    To get exceptions to immediately halt your program, use platform-specific functions:

    • http://www.gnu.org/s/hello/manual/libc/Control-Functions.html (glibc)
    • http://msdn.microsoft.com/en-us/library/e9b52ceh.aspx (Windows)
      • also: http://msdn.microsoft.com/en-us/library/5z4bw5h5.aspx to get C++ exceptions; I think this is what you were after.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I seem to remember reading about a function that could be used to make
I seem to remember that Regular Expressions in DotNet have a special mechanism that
I seem to have found a bug in jQuery UI that duplicates dragged elements
I seem to remember that there is a command to look at a mysql
I seem to remember reading somewhere that there is a way to combine LEFT
I seem to remember a tool that could be used at runtime to tell
I've got two questions about the Perl open function: 1) I seem to remember
I seem to remember reading somewhere that google app engine automatically caches the results
In .net 1.1 I seem to remember I had to declare web controls that
In a previous job we had an extensive SQLServer database that constantly had new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.