# time() built-in

H. Peter Anvin (hpa@trantor.zytor.com)
Sat, 22 Jun 1996 20:54:32 PDT

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    Followup to:  <199606221924.MAA16566@wasteland.calbbs.com>
    By author:    Brian Buchanan <brian@wasteland.calbbs.com>
    In newsgroup: local.moo
    >
    > static package
    > bf_us_time(Var arglist, Byte next, void *vdata, Objid progr)
    > {
         [...]
    >
    >     r =3D new_float(((double)tv->tv_sec) + ((double)tv->tv_usec / 10000=
    00));
    >    =20
         [...]
    > }
    >=20

    Seems a bit misleading of a name for the function to me... I think
    ftime() (fp time) would be more accurate, since the result is still in
    seconds.

    	-hpa

    --=20
    PGP public key available - finger hpa@zytor.com
    "The earth is but one country, and mankind its citizens."  --  Bah=E1'u'l=
    l=E1h
    Just Say No to Morden * The Shadows were defeated -- Babylon 5 is renewed=
    !!