[comp.sys.mac] Problems Using LSC math library

rs4u+@andrew.cmu.edu (Richard Siegel) (01/10/88)

Older versions (pre 2.15) had problems in the math library. The new version is 
available for downloading from comp.binaries.mac or from the info-mac 
archives, and should fix the problem.

The time-honored solution for getting around the global data limit is to 
declare large static structures (arrays and the like) as pointers, and 
allocating blocks with NewPtr(). For example, instead of

	char a[35000]

use

	char a[] = NewPtr(35000 * sizeof(char));

This is identical to using an array, without eating the global space.

		--Rich

raylau@dasys1.UUCP (Raymond Lau) (01/11/88)

I've been seeing references to LSC 2.15...
As comp.binaries.mac takes a while to make it around here, when will 2.15
appear on "other" places...GEnie....Delphi?

(I have but 2.13)

--
Raymond Lau                       GEnie: RayLau
100-04 70 Ave.                    CIS: 76174,2617
Forest Hills, NY 11375-5133       Delphi: RaymondLau
United States of America          MacNET: RayLau
uucp: raylau@dasys1.UUCP (..{phri,cucard,bc-cis,mstan}!dasys1!raylau})

rs4u+@andrew.cmu.edu (Richard Siegel) (01/27/88)

I remember having seen this post some time ago on this newsgroup; is this an 
accidentally posted copy or the same problem all over again?

In any case, the math library supplied with the 2.15 upgrade should work 
correctly; you can download these libraries from comp.binaries.mac, the 
archives on sumex.stanford.edu, or you can get them directly from THINK - call 
the support line at (617) 275-1710 for more information.

		--Rich

===================================================================
Richard Siegel
THINK Technologies, QA Technician (on leave)

Arpa: rs4u@andrew.cmu.edu
UUCP: {decvax,ucbvax,sun}!andrew.cmu.edu!rs4u
==================================================================