/*****************************************************************************
 *
 *	(C) Copyright 1988-1997 Novell, Inc.
 *	All Rights Reserved.
 *
 *	This program is an unpublished copyrighted work which is proprietary
 *	to Novell, Inc. and contains confidential information that is not
 *	to be reproduced or disclosed to any other person or entity without
 *	prior written consent from Novell, Inc. in each and every instance.
 *
 *	WARNING:  Unauthorized reproduction of this program as well as
 *	unauthorized preparation of derivative works based upon the
 *	program or distribution of copies by sale, rental, lease or
 *	lending are violations of federal copyright laws and state trade
 *	secret laws, punishable by civil and criminal penalties.
 *
 ****************************************************************************/

#ifndef _MATHPRAGMA_MD_H_
#define _MATHPRAGMA_MD_H_


#ifdef WATCOM

/*
 * Current pragmas:
 *	#pragma aux <routinename> value [8087]
 *		- this pragma will force floats/doubles to return
 *		  their values in ST of the FPU -- NOT in eax/edx
 *
 * "I love watcom" -- JKM
 */

/* share/java/lang/array.c */

#pragma aux java_lang_reflect_Array_getFloat value [8087]
#pragma aux java_lang_reflect_Array_getDouble value [8087]

/* share/java/lang/field.c */

#pragma aux java_lang_reflect_Field_getFloat value [8087]
#pragma aux java_lang_reflect_Field_getDouble value [8087]

/* share/java/lang/math.c */

#pragma aux java_lang_Double_valueOf0 value [8087]
#pragma aux java_lang_Float_intBitsToFloat value [8087]
#pragma aux java_lang_Double_longBitsToDouble value [8087]
#pragma aux java_lang_Math_cos value [8087]
#pragma aux java_lang_Math_sin value [8087]
#pragma aux java_lang_Math_tan value [8087]
#pragma aux java_lang_Math_asin value [8087]
#pragma aux java_lang_Math_acos value [8087]
#pragma aux java_lang_Math_atan value [8087]
#pragma aux java_lang_Math_exp value [8087]
#pragma aux java_lang_Math_log value [8087]
#pragma aux java_lang_Math_sqrt value [8087]
#pragma aux java_lang_Math_ceil value [8087]
#pragma aux java_lang_Math_floor value [8087]
#pragma aux java_lang_Math_rint value [8087]
#pragma aux java_lang_Math_atan2 value [8087]
#pragma aux java_lang_Math_pow value [8087]
#pragma aux java_lang_Math_IEEEremainder value [8087]

/* netware/java/runtime/math_md.c */

#pragma aux rint value [8087]
#pragma aux drem value [8087]
#pragma aux ieeerem value [8087]

#endif /* (WATCOM) */

#endif
