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

Side by Side Diff: fusl/src/fenv/fenv.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 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
OLDNEW
1 #include <fenv.h> 1 #include <fenv.h>
2 2
3 /* Dummy functions for archs lacking fenv implementation */ 3 /* Dummy functions for archs lacking fenv implementation */
4 4
5 int feclearexcept(int mask) 5 int feclearexcept(int mask) {
6 { 6 return 0;
7 » return 0;
8 } 7 }
9 8
10 int feraiseexcept(int mask) 9 int feraiseexcept(int mask) {
11 { 10 return 0;
12 » return 0;
13 } 11 }
14 12
15 int fetestexcept(int mask) 13 int fetestexcept(int mask) {
16 { 14 return 0;
17 » return 0;
18 } 15 }
19 16
20 int fegetround(void) 17 int fegetround(void) {
21 { 18 return FE_TONEAREST;
22 » return FE_TONEAREST;
23 } 19 }
24 20
25 int __fesetround(int r) 21 int __fesetround(int r) {
26 { 22 return 0;
27 » return 0;
28 } 23 }
29 24
30 int fegetenv(fenv_t *envp) 25 int fegetenv(fenv_t* envp) {
31 { 26 return 0;
32 » return 0;
33 } 27 }
34 28
35 int fesetenv(const fenv_t *envp) 29 int fesetenv(const fenv_t* envp) {
36 { 30 return 0;
37 » return 0;
38 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698