/*
 * @(#)jmath_md.h	1.8 98/03/18
 *
 * Copyright 1995-1997 by Sun Microsystems, Inc.,
 * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Sun Microsystems, Inc. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Sun.
 */

/*
 * An awful hack, but the dumb MSC compiler #define's exception to _exception
 * for compatibility with non-ANSI names, and this conflicts with the field
 * named 'exception' in 'struct execenv' of interpreter.h.
 */

#ifndef _NW_JMATH_MD_H_
#define _NW_JMATH_MD_H_

#include <math.h>
#undef exception

#include "mathpragma_md.h"

#define DREM(a,b) drem(a,b)

/* drem and rint are defined in math_md.c */
extern double drem(double dividend, double divisor);
extern double rint(double a);

#endif

