Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(796)

Side by Side Diff: fusl/arch/x86_64/bits/fenv.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/arch/x86_64/bits/fcntl.h ('k') | fusl/arch/x86_64/bits/float.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #define FE_INVALID 1
2 #define __FE_DENORM 2
3 #define FE_DIVBYZERO 4
4 #define FE_OVERFLOW 8
5 #define FE_UNDERFLOW 16
6 #define FE_INEXACT 32
7
8 #define FE_ALL_EXCEPT 63
9
10 #define FE_TONEAREST 0
11 #define FE_DOWNWARD 0x400
12 #define FE_UPWARD 0x800
13 #define FE_TOWARDZERO 0xc00
14
15 typedef unsigned short fexcept_t;
16
17 typedef struct {
18 unsigned short __control_word;
19 unsigned short __unused1;
20 unsigned short __status_word;
21 unsigned short __unused2;
22 unsigned short __tags;
23 unsigned short __unused3;
24 unsigned int __eip;
25 unsigned short __cs_selector;
26 unsigned int __opcode:11;
27 unsigned int __unused4:5;
28 unsigned int __data_offset;
29 unsigned short __data_selector;
30 unsigned short __unused5;
31 unsigned int __mxcsr;
32 } fenv_t;
33
34 #define FE_DFL_ENV ((const fenv_t *) -1)
OLDNEW
« no previous file with comments | « fusl/arch/x86_64/bits/fcntl.h ('k') | fusl/arch/x86_64/bits/float.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698