Undelivered mail
MAILER%ALASKA.BITNET at CUNYVM.CUNY.EDU
MAILER%ALASKA.BITNET at CUNYVM.CUNY.EDU
Sun Mar 13 18:59:17 AEST 1988
Subject: Re: Re: Constant overflow
[Non-Deliverable: User does not exist or has never logged on]
Reply-To: Info-C at BRL.ARPA
Received: From UWAVM(MAILER) by ALASKA with Jnet id 0359
for SXJVK at ALASKA; Sat, 12 Mar 88 23:48 AST
Received: by UWAVM (Mailer X1.25) id 6413; Sun, 13 Mar 88 00:47:52 PST
Date: Fri, 11 Mar 88 11:47:41 GMT
Reply-To: Info-C at BRL.ARPA
Sender: Info-C List <INFO-C at NDSUVM1>
From: Alan_Rooks_sps <alan at bk.dk>
Subject: Re: Re: Constant overflow
Comments: To: info-c at BRL-SMOKE.arpa
To: Vic Kapella <SXJVK at ALASKA>
In article <2550059 at hpisod2.HP.COM> decot at hpisod2.HP.COM (Dave Decot) writes:
>It's hard to do this right unless you do some clever comparison
>just before multiplying by 10 (or 8 or 16 or 2).
A proven (and very simple) way to do this right was given by J. R. Parker in
"A General Character to Integer Conversion Method", Software - Practice and
Experience, Vol 15(8) (August '85), pp. 761-766.
Alan Rooks - Bruel & Kjaer Copenhagen - ...!mcvax!bk!alan or ...!diku!bk!alan
More information about the Comp.lang.c
mailing list