Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/tests/kernel



> Date: Fri, 20 Mar 2026 13:34:53 +0900
> From: Takashi YAMAMOTO <yamt9999%gmail.com@localhost>
> 
> On Wed, Mar 18, 2026 at 8:23 PM Taylor R Campbell <riastradh%netbsd.org@localhost> wrote:
> >
> > 2. Edge cases are important to test.  Although these aren't really
> >    edge cases of _this_ implementation since the implementation
> >    currently works in nanoseconds, they _would_ be edge cases if the
> >    implementation were changed to work in microseconds or
> >    milliseconds (which would, in turn, be reasonable given our low
> >    resolution of sleep times anyway).
> 
> actually, they are not edge cases at all.
> 
> for example,
> {9223372036854,775808} here is
> {.tv_sec=9223372036854,.tv_nsec=775808}.
> in us, it's 9223372036854000775.
> 
> i suspect you actually meant {9223372036854,775808000},
> which is 9223372036854775808 = 2^63 in us?

Yep, looks like that's what I meant to write in this test, oops!


Home | Main Index | Thread Index | Old Index