diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-12-27 20:43:24 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-12-27 20:43:24 +0530 |
commit | b76eb5f076d362cdfbb95f0986285a8661e4082f (patch) | |
tree | 86db1db19c800043d2a2061e2fe4f6ea21666527 /sysdeps/ieee754/dbl-64/mpa.c | |
parent | 8ebac7785b6ac0e412075d832af2ede21153148a (diff) | |
download | glibc-b76eb5f076d362cdfbb95f0986285a8661e4082f.tar.gz glibc-b76eb5f076d362cdfbb95f0986285a8661e4082f.tar.xz glibc-b76eb5f076d362cdfbb95f0986285a8661e4082f.zip |
Move mpone out to a global const
Code cleanup.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mpa.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/mpa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpa.c b/sysdeps/ieee754/dbl-64/mpa.c index 7e0ee445c6..b5d25ed2a2 100644 --- a/sysdeps/ieee754/dbl-64/mpa.c +++ b/sysdeps/ieee754/dbl-64/mpa.c @@ -51,6 +51,10 @@ # define SECTION #endif +#ifndef NO__CONST +const mp_no mpone = {1, {1.0, 1.0}}; +#endif + #ifndef NO___ACR /* mcr() compares the sizes of the mantissas of two multiple precision */ /* numbers. Mantissas are compared regardless of the signs of the */ |