Re: Migrating to larger numbers

H. Peter Anvin (hpa@transmeta.com)
8 Jun 1999 22:05:13 GMT


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.)

Anyhow, under C9x "long long" will be a standardized and required data
type, required to hold at least 64 bits.

-hpa

-- 
"The user's computer downloads the ActiveX code and simulates a 'Blue
Screen' crash, a generally benign event most users are familiar with
and that would not necessarily arouse suspicions."
-- Security exploit description on http://www.zks.net/p3/how.asp

- 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/