MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
Re: time() built-in
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 = new_float(((double)tv->tv_sec) + ((double)tv->tv_usec / 1000000));
>
[...]
> }
>
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
--
PGP public key available - finger hpa@zytor.com
"The earth is but one country, and mankind its citizens." -- Bahá'u'lláh
Just Say No to Morden * The Shadows were defeated -- Babylon 5 is renewed!!
Follow-Ups:
References:
Home |
Subject Index |
Thread Index