请输入您要查询的百科知识:

 

词条 _status87
释义

函数名: _status87

功 能: 取浮点状态

用 法: unsigned int _status87(void);

程序例:

#include <stdio.h>

#include <float.h>

int main(void)

{

float x;

double y = 1.5e-100;

printf("Status 87 before error: %x\", _status87());

x = y; /* <-- force an error to occur */

y = x;

printf("Status 87 after error : %x\", _status87());

return 0;

}

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/3/24 8:43:01