Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!haven!umd5!adm!smoke!gwyn From: gwyn@smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: "Numerical Recipes in C" is nonportable code Message-ID: <8395@smoke.ARPA> Date: 31 Aug 88 09:07:06 GMT References: <664@lindy.Stanford.EDU> <6758@megaron.arizona.edu> <718@gtx.com> <13258@mimsy.UUCP> <531@accelerator.eng.ohio-state.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 14 In article <531@accelerator.eng.ohio-state.edu> rob@kaa.eng.ohio-state.edu (Rob Carriere) writes: >>Such an implementation will ABORT ON THE COMPUTATION `b - 1', >So the standard says, they tell me. It is also one the more flagrant >violations of the Principle of Least Astonishment I've seen in a >while. Sorry, but reality is sometimes astonishing. That is not an X3J11 invention, just an acknowledgement of the way the world is. (For example, segmented architectures.) >Gentlemen >system programmers, surely you too have algorithms that are >more accurately expressed with arrays from other than base zero? I doubt that even lady system programmers have much trouble with 0-based arrays.