From bug-request at octave dot org Tue Jan 17 11:19:27 2006 Subject: Re: etime doc string patch From: William Poetra Yoga Hadisoeseno To: Paul Kienzle Cc: "John W. Eaton" , "'bug @ octave. org' mailing list" Date: Wed, 18 Jan 2006 01:15:41 +0800 OK, when I get home, because I don't have my computer with me right now... On 1/15/06, Paul Kienzle wrote: > William, > > Please post your changes to octave-forge, and I'll post my updates. > > I've added some tests, and did some other cleanup of datenum. > > I also extended the interface to return seconds as well as days > because otherwise I was seeing etime errors of 1e-5 (which is not > unreasonable given that day number is about 6 digits and seconds > per day is another 5 digits). In retrospect, I don't think this > change was necessary. Instead I can call datenum with Y-M-D h:m > and add the difference in seconds to the returned value. > > - Paul > -- William Poetra Yoga Hadisoeseno ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------