diff options
Diffstat (limited to 'contrib/ntp/libntp/fptoa.c')
-rw-r--r-- | contrib/ntp/libntp/fptoa.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/contrib/ntp/libntp/fptoa.c b/contrib/ntp/libntp/fptoa.c deleted file mode 100644 index 025ad21..0000000 --- a/contrib/ntp/libntp/fptoa.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * fptoa - return an asciized representation of an s_fp number - */ -#include "ntp_fp.h" -#include "ntp_stdlib.h" - -char * -fptoa( - s_fp fpv, - short ndec - ) -{ - u_fp plusfp; - int neg; - - if (fpv < 0) { - plusfp = (u_fp)(-fpv); - neg = 1; - } else { - plusfp = (u_fp)fpv; - neg = 0; - } - - return dofptoa(plusfp, neg, ndec, 0); -} |