Messages in this thread | | | Date | 09 Jun 1999 18:38:00 +0200 | From | (Kai Henningsen) | Subject | Re: 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/
| |