- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
on some computers (not all) I get a numeric exception when calling the pow function (by using the ** operator) with a negative base(~ - 1.7) and an exponent of 0.75. I get this exception even though the numeric exception flags are set to not trigger any exceptions (and I see it working correctly on other computers). I added a zip-file which contains a crash-dump and an xml-file containing information about the computer/processor where the crash happened and the modules loaded in the process. Hopefully someone at Intel can find out, what's the problem.
Tobias
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, there's nothing we can do with the crash dump. I'll comment that the exception flags don't carry into the math library, for the most part. What may be happening is that your different computers have different processor generations, which can cause the math library to take different code paths. Try building with /Qimf-arch-consistency and see what happens.
If you'd like us to investigate we will need sources for a buildable and runnable test case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's normal that you get a NaN result, and a floating-point exception if these are unmasked. But your XML file showed an access violation, not a floating-point exception. Perhaps this is a result of subsequent computation that uses the NaN? I could invent ways that might conceivably happen, but to make real progress, we need a reproducer, as Steve says. Not just source code, but the exact command line and the compiler version used to compile it. If you want to experiment in the meantime, you could try adding /Qfp-speculation:safe and/or /fpe:3.

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