⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 isnan.c

📁 Minix比较全的源码
💻 C
字号:
/*libc/ieee_float/isnan.cCreated:	Oct 14, 1993 by Philip Homburg <philip@cs.vu.nl>Implementation of isnan that directly tests the bits in an ieee float*/#define _MINIX_SOURCE#include <sys/types.h>#include <math.h>#include "ieee_float.h"int isnan(value)double value;{	struct f64 *f64p;	int exp;	f64p= (struct f64 *)&value;	exp= F64_GET_EXP(f64p);	if (exp != F64_EXP_MAX)		return 0;	return F64_GET_MANT_LOW(f64p) != 0 || F64_GET_MANT_HIGH(f64p) != 0;}/* * $PchId: isnan.c,v 1.3 1996/02/22 21:01:39 philip Exp $ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -