/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	fp_class.h,v $
 * Revision 4.2.2.2  92/01/16  13:16:59  William_Burns
 * 	Merge from ODE/TIN: revision 3.1.9.2
 * 	date: 92/01/14 09:47:51;  author: devrcs;  state: Exp;  lines added/del: 20/2
 * 	sccs rev: 3.2;  orig date: 91/12/06 13:38:40;  orig author: iannelli
 * 	1169-iannelli-1019 -- Fixes Qars 1037 1112 - fp_class.h & float.h conflicts
 * 			      Makes FP_PLUS_xxxx & FP_MINUS_xxx respectively equivilent
 * 			      to FP_POS_xxx & FP_NEG_xxx also defines FP_xNAN
 * 	[92/01/16  12:24:32  William_Burns]
 * 
 * Revision 4.2  91/09/20  05:06:48  devbld
 * 	Adding ODE Headers
 * 
 * $EndLog$
 */
/*	
 *	@(#)$RCSfile: fp_class.h,v $ $Revision: 4.2.2.2 $ (DEC) $Date: 92/01/16 13:16:59 $
 */ 
/*
 * (c) Copyright 1990, OPEN SOFTWARE FOUNDATION, INC.
 * ALL RIGHTS RESERVED
 */
/*
 * OSF/1 Release 1.0
 */

/* ------------------------------------------------------------------ */
/* | Copyright Unpublished, MIPS Computer Systems, Inc.  All Rights | */
/* | Reserved.  This software contains proprietary and confidential | */
/* | information of MIPS and its suppliers.  Use, disclosure or     | */
/* | reproduction is prohibited without the prior express written   | */
/* | consent of MIPS.                                               | */
/* ------------------------------------------------------------------ */
#ifndef _FP_CLASS_H_
#define _FP_CLASS_H_
/*
 * Constants returned by the floating point fp_class_[fd]() functions.
 * Mips and Osf have different values for similarly named constants and 
 * FP_SNAN & FP_QNAN actually conflict (with each other and the FP_xx_ZERO 
 * values). So to avoid confusion map all variations based on the hardware...
 */
#ifdef __mips__ /* if mips use their values */
#define	FP_SNAN		0
#define	FP_QNAN		1
#define	FP_POS_INF	2
#define	FP_NEG_INF	3
#define	FP_POS_NORM	4
#define	FP_NEG_NORM	5
#define	FP_POS_DENORM	6
#define	FP_NEG_DENORM	7
#define	FP_POS_ZERO	8
#define	FP_NEG_ZERO	9
#else				/* Not mips? Use original osf values */
#define FP_POS_NORM      0
#define FP_NEG_NORM      1
#define FP_POS_ZERO      2
#define FP_NEG_ZERO      3
#define FP_POS_INF       4
#define FP_NEG_INF       5
#define FP_POS_DENORM    6
#define FP_NEG_DENORM    7
#define FP_SNAN          8
#define FP_QNAN          9
#endif
#endif /* _FP_CLASS_H_ */
