Finish moving all IEEE fp types to be the same on all arch's.

This commit is contained in:
John Baldwin 2000-05-10 19:41:40 +00:00
parent 317e99beec
commit bde8875a06
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60338
4 changed files with 6 additions and 6 deletions

View file

@ -16,8 +16,8 @@
#include <machine/floatingpoint.h>
#else /* !__i386__ */
__BEGIN_DECLS
extern fp_rnd fpgetround __P((void));
extern fp_rnd fpsetround __P((fp_rnd));
extern fp_rnd_t fpgetround __P((void));
extern fp_rnd_t fpsetround __P((fp_rnd_t));
extern fp_except_t fpgetmask __P((void));
extern fp_except_t fpsetmask __P((fp_except_t));
extern fp_except_t fpgetsticky __P((void));

View file

@ -36,7 +36,7 @@
#include <ieeefp.h>
#include <machine/fpu.h>
fp_rnd
fp_rnd_t
fpgetround()
{
double fpcrval;

View file

@ -36,9 +36,9 @@
#include <ieeefp.h>
#include <machine/fpu.h>
fp_rnd
fp_rnd_t
fpsetround(rnd_dir)
fp_rnd rnd_dir;
fp_rnd_t rnd_dir;
{
double fpcrval;
u_int64_t old, new;

View file

@ -24,6 +24,6 @@ typedef enum {
FP_RM=1, /* round toward negative infinity */
FP_RN=2, /* round to nearest representable number */
FP_RP=3 /* round toward positive infinity */
} fp_rnd;
} fp_rnd_t;
#endif /* _ALPHA_IEEEFP_H_ */