aboutsummaryrefslogtreecommitdiff
path: root/contrib/seg/seg.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/seg/seg.c')
-rw-r--r--contrib/seg/seg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/seg/seg.c b/contrib/seg/seg.c
index cb677e0ae51..9b58675266a 100644
--- a/contrib/seg/seg.c
+++ b/contrib/seg/seg.c
@@ -952,7 +952,7 @@ restore(char *result, float val, int n)
}
else
{
- if (Abs(exp) <= 4)
+ if (abs(exp) <= 4)
{
/*
* remove the decimal point from the mantissa and write the digits
@@ -1039,7 +1039,7 @@ restore(char *result, float val, int n)
}
}
- /* do nothing for Abs(exp) > 4; %e must be OK */
+ /* do nothing for abs(exp) > 4; %e must be OK */
/* just get rid of zeroes after [eE]- and +zeroes after [Ee]. */
/* ... this is not done yet. */