Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/include/ieeefp.h
/*- | /*- | ||||
* Based on sys/sparc64/include/ieeefp.h | * Based on sys/sparc64/include/ieeefp.h | ||||
* Public domain. | * Public domain. | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifdef __arm__ | |||||
#include <arm/ieeefp.h> | |||||
#else /* !__arm__ */ | |||||
#ifndef _MACHINE_IEEEFP_H_ | #ifndef _MACHINE_IEEEFP_H_ | ||||
#define _MACHINE_IEEEFP_H_ | #define _MACHINE_IEEEFP_H_ | ||||
/* Deprecated FPU control interface */ | /* Deprecated FPU control interface */ | ||||
/* FP exception codes */ | /* FP exception codes */ | ||||
#define FP_EXCEPT_INV 8 | #define FP_EXCEPT_INV 8 | ||||
#define FP_EXCEPT_DZ 9 | #define FP_EXCEPT_DZ 9 | ||||
Show All 21 Lines | |||||
__BEGIN_DECLS | __BEGIN_DECLS | ||||
extern fp_rnd_t fpgetround(void); | extern fp_rnd_t fpgetround(void); | ||||
extern fp_rnd_t fpsetround(fp_rnd_t); | extern fp_rnd_t fpsetround(fp_rnd_t); | ||||
extern fp_except_t fpgetmask(void); | extern fp_except_t fpgetmask(void); | ||||
extern fp_except_t fpsetmask(fp_except_t); | extern fp_except_t fpsetmask(fp_except_t); | ||||
__END_DECLS | __END_DECLS | ||||
#endif /* _MACHINE_IEEEFP_H_ */ | #endif /* _MACHINE_IEEEFP_H_ */ | ||||
#endif /* !__arm__ */ |