🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3764

Re: Why "long long" doesn't work.

#3764
From: halasz
Date: Thu, 17 Aug 1995 22:06
12 lines
883 bytes
In article <40n32v$fp@news.cs.tu-berlin.de>, mfx@cs.tu-berlin.de (Markus Freericks) writes
+ typedef unsigned int (1:2) bit;
+ typedef unsigned int (1:3) trit;
+ typedef unsigned int (8:2) byte;
+ typedef unsigned int (1:10) digit;

No, I had a hack in mind: the base of the length is the base that it tells
digits in:
	unsigned int 4 x;	/* 4 decimal digits */
	unsigned int 05 y;	/* 5 octonarie digits */
	unsigned int 0x4 w;	/* 4 sedenarie digits */
Yes, it is a hack ....
Technical Details
Message-ID: <410egs$64m@caip.rutgers.edu>
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
References: <3v9s4l$9t5@caip.rutgers.edu> <3vbmks$25u@newsbf02.news.aol.com> <40n32v$fp@news.cs.tu-berlin.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
From: halasz
Newsgroups: comp.std.c
Subject: Re: Why "long long" doesn't work.
Date: 17 Aug 1995 18:06:20 -0400
Organization: ?
Sender: halasz@caip.rutgers.edu
Message-ID: <410egs$64m@caip.rutgers.edu>
References: <3v9s4l$9t5@caip.rutgers.edu> <3vbmks$25u@newsbf02.news.aol.com> <40n32v$fp@news.cs.tu-berlin.de>
NNTP-Posting-Host: caip.rutgers.edu