summaryrefslogtreecommitdiff
path: root/src/mp-convert.c
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-29 10:49:33 +0200
committerraveit65 <[email protected]>2019-07-03 15:04:19 +0200
commitd7195c1d58c93398efd3567ed69558b657e7b74b (patch)
tree2a37db47816a37eb01d95d5933de9c1e079ed599 /src/mp-convert.c
parent87d647ad3be67c033dbb6aa80cfcdd4cbce3a42d (diff)
downloadmate-calc-d7195c1d58c93398efd3567ed69558b657e7b74b.tar.bz2
mate-calc-d7195c1d58c93398efd3567ed69558b657e7b74b.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'src/mp-convert.c')
-rw-r--r--src/mp-convert.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mp-convert.c b/src/mp-convert.c
index 1052351..f41c874 100644
--- a/src/mp-convert.c
+++ b/src/mp-convert.c
@@ -288,7 +288,7 @@ mp_cast_to_int(const MPNumber *x)
{
int i;
int64_t z = 0, v;
-
+
/* |x| <= 1 */
if (x->sign == 0 || x->exponent <= 0)
return 0;
@@ -299,7 +299,7 @@ mp_cast_to_int(const MPNumber *x)
t = z;
z = z * MP_BASE + x->fraction[i];
-
+
/* Check for overflow */
if (z <= t)
return 0;
@@ -329,7 +329,7 @@ mp_cast_to_unsigned_int(const MPNumber *x)
{
int i;
uint64_t z = 0, v;
-
+
/* x <= 1 */
if (x->sign <= 0 || x->exponent <= 0)
return 0;
@@ -340,7 +340,7 @@ mp_cast_to_unsigned_int(const MPNumber *x)
t = z;
z = z * MP_BASE + x->fraction[i];
-
+
/* Check for overflow */
if (z <= t)
return 0;