Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!endor!singer From: singer@endor.UUCP Newsgroups: comp.sys.mac Subject: Re: LSC Programming Tools: and improved arithmetic. Message-ID: <3085@husc6.UUCP> Date: Mon, 2-Nov-87 09:42:18 EST Article-I.D.: husc6.3085 Posted: Mon Nov 2 09:42:18 1987 Date-Received: Wed, 4-Nov-87 19:59:16 EST References: <226@pembina.UUCP> Sender: news@husc6.UUCP Reply-To: singer@endor.UUCP (Richard Siegel) Organization: THINK Technologies, Inc., Bedford, MA Lines: 20 In article <226@pembina.UUCP> simon@alberta.UUCP (Simon Tortike) writes: > >Running a program that is primarily arithmetic operations, written in C >and compiled in LSC with floats, is much slower than the equivalent >written in fortran. This all on a Mac plus, and no data structure I assume here that you're referring to MS Fortran. MS Fortran doesn't use the SANE data types and trap calls, and as a result is about ten times faster than any calls that use the SANE traps. The way to get some speed back is to use doubles as much as possible, but given your memory constraints you may be stuck. --Rich **The opinions stated herein are my own opinions and do not necessarily represent the policies or opinions of my employer (THINK Technologies, Inc). * Richard M. Siegel | {decvax, ucbvax, sun}!harvard!endor!singer * * Customer Support | singer@endor.harvard.edu * * Symantec, THINK Technologies Division. (No snappy quote) *