tech-kern archive

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

Re: A nit-pick on gettime(9) man-page



paul%whooppee.com@localhost (Paul Goyette) writes:

> 	The system realtime clock is guaranteed to be monotonically
> 	increasing at all times.  As such, all calls to these functions
> 	are guaranteed to return a system time greater than or equal to
> 	the system time returned in any previous calls.


>The guarantee to return a result "greater than or equal to" the previous
>result is a property of a "monotonically non-decreasing" function.  A
>"monotonically increasing" function would guarantee a results that is
>strictly greater than any previous results.

>So, which is correct here?    :)

Depends on wether you ask a mathematician:

- zero is neither positive or negative
- counts from 1
- increasing means ">"

or a computer scientist

- zero is positive
- counts from 0
- increasing means ">="


-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index