From owner-freebsd-questions Fri Jul 3 02:28:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA20633 for freebsd-questions-outgoing; Fri, 3 Jul 1998 02:28:26 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ix.netcom.com (sil-wa4-33.ix.netcom.com [207.93.136.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA20569 for ; Fri, 3 Jul 1998 02:28:10 -0700 (PDT) (envelope-from tomdean@ix.netcom.com) Received: (from tomdean@localhost) by ix.netcom.com (8.8.8/8.8.8) id CAA01940; Fri, 3 Jul 1998 02:27:44 -0700 (PDT) (envelope-from tomdean) Date: Fri, 3 Jul 1998 02:27:44 -0700 (PDT) Message-Id: <199807030927.CAA01940@ix.netcom.com> From: Thomas Dean To: uhlar@fantomas.sk CC: freebsd-questions@FreeBSD.ORG In-reply-to: <199807030810.KAA03251@fantomas.fantomas.sk> (uhlar@fantomas.sk) Subject: Re: 64 bit integer Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Are you asking if a user process can do math with 64-bit integers? Read 'man printf' a bit more carefully: o The optional character q, specifying that a following d, i, o, u, x, or X conversion corresponds to a quad int or unsigned quad int argu- ment, or that a following n conversion corresponds to a pointer to a quad int argument. /* showLongLong.c */ #include main() { long long x; x = -2; printf("%d %qd %16qx\n",sizeof(x),x,x); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message