fpa_support.h

来自「操作系统SunOS 4.1.3版本的源码」· C头文件 代码 · 共 64 行

H
64
字号
/*	@(#)fpa_support.h 1.1 92/07/30 SMI	*//* * Copyright (c) 1989 by Sun Microsystems, Inc. */#define FPABASE 0xe0000000#define STATIC staticextern double fpa_transcendental( ) ;extern double fpa_tolong( ) ;union   singlekluge	{	float x ;	long  i[1] ;	} ;union   doublekluge	{	double x ;	long   i[2] ;	} ;typedef union 		{	double d;	float  f[2];	} complexunion;typedef double *pdouble;typedef union	{	double d ;	pdouble pd[2];	}	pdoublekluge;struct inststruct		/* Instruction format. */ 	{ /* Instruction field, including valid bit. */	unsigned short valid : 1 ;	unsigned hijunk : 2 ;	unsigned op : 6 ;	unsigned reg1 : 4 ;	unsigned prec : 1 ;	unsigned lojunk : 2 ; 	} ;struct fpa_access		/* Record for one fpa access. */	{	union 		{		short kint ;		struct inststruct kis ;		} kluge ;	long	data ;		/* Data field - 32 bits. */	} ;struct fpa_inst			/* Record for one fpa instruction. */	{	struct fpa_access a[2] ; 	} ;

⌨️ 快捷键说明

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