Exchange numerical values for FPE_INTDIV and FPE_INTOVF, so that they

are compatible with the older ones implemented in FreeBSD 3.x.

PR:		15488
This commit is contained in:
Martin Cracauer 2000-03-20 10:22:19 +00:00
parent 9ac61e92ca
commit cce9dd21c1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58342
2 changed files with 4 additions and 4 deletions

View File

@ -77,8 +77,8 @@
#define ILL_FPOP_FAULT T_FPOPFLT /* coprocessor operand fault */
/* portable macros for SIGFPE/ARITHTRAP */
#define FPE_INTDIV 1 /* integer divide by zero */
#define FPE_INTOVF 2 /* integer overflow */
#define FPE_INTOVF 1 /* integer overflow */
#define FPE_INTDIV 2 /* integer divide by zero */
#define FPE_FLTDIV 3 /* floating point divide by zero */
#define FPE_FLTOVF 4 /* floating point overflow */
#define FPE_FLTUND 5 /* floating point underflow */

View File

@ -77,8 +77,8 @@
#define ILL_FPOP_FAULT T_FPOPFLT /* coprocessor operand fault */
/* portable macros for SIGFPE/ARITHTRAP */
#define FPE_INTDIV 1 /* integer divide by zero */
#define FPE_INTOVF 2 /* integer overflow */
#define FPE_INTOVF 1 /* integer overflow */
#define FPE_INTDIV 2 /* integer divide by zero */
#define FPE_FLTDIV 3 /* floating point divide by zero */
#define FPE_FLTOVF 4 /* floating point overflow */
#define FPE_FLTUND 5 /* floating point underflow */