Current Path : /compat/linux/proc/self/root/usr/src/contrib/ntp/libntp/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/src/contrib/ntp/libntp/fptoa.c |
/* * 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); }