/*
 * $Id: math64_intrinsics.h,v 1.1 2003/02/07 18:15:44 wheeler Exp $
 *
 * 高速整数化ルーチン
 *
 * $Log: math64_intrinsics.h,v $
 * Revision 1.1  2003/02/07 18:15:44  wheeler
 * Fox's version of libultra and friends.
 *
 * Revision 1.1  1997/03/05  05:22:44  hayakawa
 * Initial revision
 *
 */

#ifndef __MATH64_INTRINSICS_H_
#define __MATH64_INTRINSICS_H_

#ifdef __cplusplus
extern "C" {
#endif

float __ffloor(float  x);
double __floor(double x);
int  __iffloor(float  x);
int   __ifloor(double x);
float  __fceil(float  x);
double  __ceil(double x);
int   __ifceil(float  x);
int    __iceil(double x);
float __ftrunc(float  x);
double __trunc(double x);
int  __iftrunc(float  x);
int   __itrunc(double x);
float __fround(float  x);
double __round(double x);
int  __ifround(float  x);
int   __iround(double x);
float  __frint(float  x);
double  __rint(double x);
int   __ifrint(float  x);
int    __irint(double x);

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif
