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

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

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/src/fenv/fesetexceptflag.c ('k') | fusl/src/fenv/feupdateenv.c » ('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 #include <fenv.h>
2
3 /* __fesetround wrapper for arch independent argument check */
4
5 int __fesetround(int);
6
7 int fesetround(int r)
8 {
9 if (r & ~(
10 FE_TONEAREST
11 #ifdef FE_DOWNWARD
12 |FE_DOWNWARD
13 #endif
14 #ifdef FE_UPWARD
15 |FE_UPWARD
16 #endif
17 #ifdef FE_TOWARDZERO
18 |FE_TOWARDZERO
19 #endif
20 ))
21 return -1;
22 return __fesetround(r);
23 }
OLDNEW
« no previous file with comments | « fusl/src/fenv/fesetexceptflag.c ('k') | fusl/src/fenv/feupdateenv.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698