Sync usage with man page.
[netbsd-mini2440.git] / dist / ntp / libntp / mfptoa.c
blob6d6530c1757e5d3d7f786d2bc6b7f3b73fbcb3af
1 /* $NetBSD$ */
3 /*
4 * mfptoa - Return an asciized representation of a signed long fp number
5 */
6 #include "ntp_fp.h"
7 #include "ntp_stdlib.h"
9 char *
10 mfptoa(
11 u_long fpi,
12 u_long fpf,
13 short ndec
16 int isneg;
18 if (M_ISNEG(fpi, fpf)) {
19 isneg = 1;
20 M_NEG(fpi, fpf);
21 } else
22 isneg = 0;
24 return dolfptoa(fpi, fpf, isneg, ndec, 0);