关于STATUS_FLOAT_INEXACT_RESULT(0xC000008F)异常

简介

STATUS_FLOAT_INEXACT_RESULT---浮点运算结果不精确异常。值为0xC000008F。其定义如下

//
// MessageId: STATUS_FLOAT_INEXACT_RESULT
//
// MessageText:
//
// {EXCEPTION}
// Floating-point inexact result.
//
#define STATUS_FLOAT_INEXACT_RESULT      ((NTSTATUS)0xC000008FL)    // winnt

说明

浮点数操作的结果不能精确表示成小数时引发该异常。一般发生溢出异常时也会引发此异常。

异常结构

ExceptionAddress: 00891690 (ConsoleApplication2!wmain+0x00000090)
   ExceptionCode: c000008f
  ExceptionFlags: 00000000
NumberParameters: 1
   Parameter[0]: 00000000

为虫子生,为虫子死,为虫子奋斗一辈子
原文地址:https://www.cnblogs.com/yilang/p/15384755.html