From bug-octave-request at bevo dot che dot wisc dot edu Wed Jan 20 00:13:59 1999 Subject: localtime(t) and gmtime(t) get wrong answers if t's fraction is >= 0.5 From: "John W. Eaton" To: Samsung Lim Cc: bug-octave at bevo dot che dot wisc dot edu Date: Wed, 20 Jan 1999 00:14:01 -0600 (CST) On 20-Jan-1999, Samsung Lim wrote: | Bug report for Octave 2.0.13 configured for sparc-sun-solaris2.5.1 | | Description: | ----------- | | In Octave, localtime(t) and gmtime(t) get wrong answers if t's | fraction is greater than or equal to 0.5. In that case, "sec" is | rounded up, while "usec" exactly corresponds to the fractional part. This seems to already be fixed in my current sources. Thanks, jwe