ape: sync flaot.h macros with u.h

The float.h macros got out of sync with u.h,
some of them missing and some of them being
incorrect. This change brings them back in
line.
This commit is contained in:
Ori Bernstein 2021-02-08 15:45:11 -08:00
parent 491fe25158
commit 566c3ca2de
8 changed files with 97 additions and 55 deletions

View file

@ -52,9 +52,10 @@ union FPdbleword
#ifdef _PLAN9_SOURCE
/* FCR */
#define FPINEX (1<<7)
#define FPOVFL (1<<9)
#define FPUNFL (1<<8)
#define FPOVFL (1<<9)
#define FPZDIV (1<<10)
#define FPINVAL (1<<11)
#define FPRNR (0<<0)
#define FPRZ (1<<0)
#define FPRPINF (2<<0)
@ -69,5 +70,6 @@ union FPdbleword
#define FPAOVFL (1<<4)
#define FPAUNFL (1<<3)
#define FPAZDIV (1<<5)
#define FPAINVAL (1<<6)
#endif
#endif /* __FLOAT */