2001-04-10 05:04:59 +04:00
|
|
|
/*---------------------------------------------------------------------------+
|
|
|
|
| reg_constant.h |
|
2003-07-25 15:44:06 +04:00
|
|
|
| $Id: reg_constant.h,v 1.4 2003-07-25 11:44:06 sshwarts Exp $
|
2001-04-10 05:04:59 +04:00
|
|
|
| |
|
|
|
|
| Copyright (C) 1992 W. Metzenthen, 22 Parker St, Ormond, Vic 3163, |
|
|
|
|
| Australia. E-mail billm@vaxc.cc.monash.edu.au |
|
|
|
|
| |
|
|
|
|
+---------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
#ifndef _REG_CONSTANT_H_
|
|
|
|
#define _REG_CONSTANT_H_
|
|
|
|
|
|
|
|
#include "fpu_emu.h"
|
|
|
|
|
|
|
|
extern FPU_REG const CONST_1;
|
|
|
|
extern FPU_REG const CONST_2;
|
|
|
|
extern FPU_REG const CONST_HALF;
|
|
|
|
extern FPU_REG const CONST_L2T;
|
|
|
|
extern FPU_REG const CONST_L2E;
|
|
|
|
extern FPU_REG const CONST_PI;
|
2003-07-25 15:44:06 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* bbd: make CONST_PI2 non-const so that you can write "&CONST_PI2" when
|
|
|
|
* calling a function. Otherwise you get const warnings. Surely there's
|
|
|
|
* a better way.
|
|
|
|
*/
|
2001-04-10 05:43:09 +04:00
|
|
|
extern FPU_REG CONST_PI2;
|
2001-04-10 05:04:59 +04:00
|
|
|
extern FPU_REG const CONST_PI2extra;
|
|
|
|
extern FPU_REG const CONST_PI4;
|
|
|
|
extern FPU_REG const CONST_LG2;
|
|
|
|
extern FPU_REG const CONST_LN2;
|
|
|
|
extern FPU_REG const CONST_Z;
|
|
|
|
extern FPU_REG const CONST_PINF;
|
|
|
|
extern FPU_REG const CONST_INF;
|
|
|
|
extern FPU_REG const CONST_MINF;
|
|
|
|
extern FPU_REG const CONST_QNaN;
|
|
|
|
|
2001-04-10 05:43:09 +04:00
|
|
|
#endif /* _REG_CONSTANT_H_ */
|