Skip to main content
Home Browse Development Equation Evaluator C
Equation Evaluator C
Equation Evaluator C icon

Equation Evaluator C

Filenameequation-evaluator-c.hqx
Size90.2 KB (92316 bytes)
Downloads13
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
About
This package is a port of C routines posted several years ago to a DOS archive by Mark Morley. The Equation Evaluator takes an equation in the form of a text string and returns a value. Having tried a couple of small C interpreters it was a relief to find something I could understand and which handled floating point numbers. There are two folders. The EE folder contains the port and the original documentation. In the CEquation folder I've reorganized the code as a C++ class. You will need CodeWarrior as I've used the exception macros provided by Power Plant. I haven't been able to contact Mark, but he does give permission to "do anything you desire with this code, as long as you give credit".
File Info

This file is part of the MacTrove archive. See the Thank You page for the upstream mirrors we rely on. It is BinHex encoded — use The Unarchiver to decode it.

mp.ls