name confusion with HP library function prototype (?)
This commit is contained in:
parent
7f0f3f17b3
commit
a69b3e94f3
1 changed files with 2 additions and 2 deletions
|
@ -569,7 +569,7 @@ pow10(int exp)
|
|||
}
|
||||
|
||||
static long
|
||||
round(LDOUBLE value)
|
||||
roundv(LDOUBLE value)
|
||||
{
|
||||
long intpart;
|
||||
intpart = (long) value;
|
||||
|
@ -621,7 +621,7 @@ fmtfp(
|
|||
|
||||
/* we "cheat" by converting the fractional part to integer by
|
||||
multiplying by a factor of 10 */
|
||||
fracpart = round((pow10(max)) * (ufvalue - intpart));
|
||||
fracpart = roundv((pow10(max)) * (ufvalue - intpart));
|
||||
|
||||
if (fracpart >= pow10(max)) {
|
||||
intpart++;
|
||||
|
|
Loading…
Reference in a new issue