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

Side by Side Diff: fusl/src/math/__signbitl.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 "libm.h" 1 #include "libm.h"
2 2
3 #if (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384 3 #if (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384
4 int __signbitl(long double x) 4 int __signbitl(long double x) {
5 { 5 union ldshape u = {x};
6 » union ldshape u = {x}; 6 return u.i.se >> 15;
7 » return u.i.se >> 15;
8 } 7 }
9 #elif LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 8 #elif LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
10 int __signbitl(long double x) 9 int __signbitl(long double x) {
11 { 10 return __signbit(x);
12 » return __signbit(x);
13 } 11 }
14 #endif 12 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698