This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: cyg_ticks_to_timespec()
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: RE: [ECOS] cyg_ticks_to_timespec()
- From: Nielsen Linus <Linus dot Nielsen at elema dot siemens dot se>
- Date: Thu, 19 Apr 2001 09:39:17 +0200
> So it seems that rounding off is intentional. In which case I
> should just
> tweak cyg_ticks_to_timespec to fix up the value if tv_nsec is
> negative.
> Before I do it, I just want to check my understanding that
> the convertors
> are doing the right thing by rounding not truncating.
>
> Jifl
I can't think of a reason to round off. Can anyone else?
/Linus