"Numerical Recipes in C" is nonportable code

Peter da Silva peter at ficc.uu.net
Sun Sep 18 01:58:24 AEST 1988


In article <1988Sep15.145026.20325 at ateng.uucp>, chip at ateng.uucp (Chip Salzenberg) writes:
> According to peter at ficc.uu.net (Peter da Silva):
> >But nobody says you have to load the selector into a selector register
> >just to compute an address.

> More to the point:  The dpANS says you (the implementor) are _allowed_ to
> load the selector into a selector register when computing the address.  To
> do otherwise could slow down register-intensive pointer manipulation.

OK, then, I withdraw my objection to the original message. Since
there is no portable method of declaring non-zero-based arrays in 'C',
and since the code generation task for using such is trivial, they should
be added.
-- 
Peter da Silva  `-_-'  Ferranti International Controls Corporation.
"Have you hugged  U  your wolf today?"            peter at ficc.uu.net



More information about the Comp.lang.c mailing list