mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Fix the floating-point exception values to line up with the hardware
register bits. Nothing in base uses these as they are deprecated, however third-party applications, such as perl, expect some of these functions to exist. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
2907b9f461
commit
e2def8eae3
1 changed files with 6 additions and 6 deletions
|
|
@ -10,12 +10,12 @@
|
|||
/* Deprecated FPU control interface */
|
||||
|
||||
/* FP exception codes */
|
||||
#define FP_EXCEPT_INV 0
|
||||
#define FP_EXCEPT_DZ 1
|
||||
#define FP_EXCEPT_OFL 2
|
||||
#define FP_EXCEPT_UFL 3
|
||||
#define FP_EXCEPT_IMP 4
|
||||
#define FP_EXCEPT_DNML 7
|
||||
#define FP_EXCEPT_INV 8
|
||||
#define FP_EXCEPT_DZ 9
|
||||
#define FP_EXCEPT_OFL 10
|
||||
#define FP_EXCEPT_UFL 11
|
||||
#define FP_EXCEPT_IMP 12
|
||||
#define FP_EXCEPT_DNML 15
|
||||
|
||||
typedef int fp_except_t;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue