diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-01-04 15:57:13 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-01-04 15:57:13 +0530 |
commit | 6420d207bb10d966163c52e4e607a1e48e6bb13f (patch) | |
tree | 58f5bcda29bed51b4d91cf89787444386c66bb5b | |
parent | a9e48ab40e230c7fe34e4892bec8af4f3f975a20 (diff) | |
download | glibc-6420d207bb10d966163c52e4e607a1e48e6bb13f.tar glibc-6420d207bb10d966163c52e4e607a1e48e6bb13f.tar.gz glibc-6420d207bb10d966163c52e4e607a1e48e6bb13f.tar.bz2 glibc-6420d207bb10d966163c52e4e607a1e48e6bb13f.zip |
Fix code formatting
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/mpa.h | 25 |
2 files changed, 17 insertions, 10 deletions
@@ -1,5 +1,7 @@ 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com> + * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting. + * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO. * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented diff --git a/sysdeps/ieee754/dbl-64/mpa.h b/sysdeps/ieee754/dbl-64/mpa.h index 1fef3c08b5..77715fc053 100644 --- a/sysdeps/ieee754/dbl-64/mpa.h +++ b/sysdeps/ieee754/dbl-64/mpa.h @@ -58,12 +58,17 @@ D[1] * R ^ (E - 1) + D[2] * R ^ (E - 2) ... D[p] * R ^ (E - p) */ -typedef struct { +typedef struct +{ int e; double d[40]; } mp_no; -typedef union { int i[2]; double d; } number; +typedef union +{ + int i[2]; + double d; +} number; extern const mp_no mpone; extern const mp_no mptwo; @@ -77,14 +82,14 @@ extern const mp_no mptwo; #define ABS(x) ((x) < 0 ? -(x) : (x)) -int __acr(const mp_no *, const mp_no *, int); -void __cpy(const mp_no *, mp_no *, int); -void __mp_dbl(const mp_no *, double *, int); -void __dbl_mp(double, mp_no *, int); -void __add(const mp_no *, const mp_no *, mp_no *, int); -void __sub(const mp_no *, const mp_no *, mp_no *, int); -void __mul(const mp_no *, const mp_no *, mp_no *, int); -void __dvd(const mp_no *, const mp_no *, mp_no *, int); +int __acr (const mp_no *, const mp_no *, int); +void __cpy (const mp_no *, mp_no *, int); +void __mp_dbl (const mp_no *, double *, int); +void __dbl_mp (double, mp_no *, int); +void __add (const mp_no *, const mp_no *, mp_no *, int); +void __sub (const mp_no *, const mp_no *, mp_no *, int); +void __mul (const mp_no *, const mp_no *, mp_no *, int); +void __dvd (const mp_no *, const mp_no *, mp_no *, int); extern void __mpatan (mp_no *, mp_no *, int); extern void __mpatan2 (mp_no *, mp_no *, mp_no *, int); |