lkml.org 
[lkml]   [1999]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Migrating to larger numbers
hpa@transmeta.com (H. Peter Anvin)  wrote on 08.06.99 in <7jk42p$aoc$1@palladium.transmeta.com>:

> Followup to: <7ITCO6lHw-B@khms.westfalen.de>
> By author: kaih@khms.westfalen.de (Kai Henningsen)
> In newsgroup: linux.dev.kernel
> >
> > There's only one large-capacity time_t allowed by the C standard (or
> > POSIX) that can hold more than the largest integer type - double. (Well,
> > or float if it's indeed larger.) Do you really want to use floating-point
> > here?
> >
>
> That's not allowed by POSIX. time_t is among the types specified by
> POSIX to be an *integral* type -- floating-point is not allowed (and
> if it did, "long double" would be allowed.)

Well, I admit that I only looked at Unix98, but that one says
"arithmetic", not "integral", and it's supposed to be a superset of POSIX
(which standard some guy didn't return to me, alas).


MfG Kai

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.054 / U:1.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site