lua-users home
lua-l archive

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


On Wed, Jan 11, 2006 at 05:46:15PM +0100, Mike Pall wrote:
> Asko Kauppi wrote:
> > as far as I know, any 'time_t' is always an integer, albeit the  
> > interpretation of that value may differ. Is this right?
> 
> time_t is always an integral value,

C defines it as an "arithmetic" type.  It could legitimately be any
floating type, including something exotic like "long double _Complex",
without violating the Standard.  Even POSIX explicitly allows a
floating type for time_t.

                                                  -Dave Dodge