XEALbc |
|
Download now
version 1.1.1|
New Release! 1.1.1 What's new?
What was new, in 1.1?
What kinds of things can you type? Well, anything from simple math (e.g. "2+2") to complex, recursive functions (e.g. computing the exponent function). You can enter and display data in a variety of bases (2 to 16 for input, 2 to 2,147,483,6471 for output). That means you can use XEALbc to convert between arbitrary bases. Want to know what hex "E7" is in binary? Just set your bases, type in E7, and hit enter. You can also compute values with as much or as little precision as you desire. The bc variable "scale"2 can be set to a value between 0 and 2,147,483,6471 - that's the number of digits following the decimal bc will use in it's calculations. By using 0, you can emulate integer math, similar to what math in C/C++ is like when using integer values. So, when scale is set to 0, "(5/2)*2" is 4, not 5. And over 2 billion digits after the decimal should placate all but the most demanding users.
The simplest use of XEALbc is to simply enter a series of equations, one per line, and compute the result. The answers will appear in the output panel, one per line. What could be easier? If you want prettier output, the print command allows for strings and values to be interspersed. See the help for bc ("bc Help" from the "Help" menu) for additional information on the uses of bc, including the math library, defining functions and general syntax. Note that at this time, interactive features of bc (i.e. the 'read' function) are not supported.
Price: Free Please send any questions/comments to XEALbc@ljug.com1 Exact value may vary with different builds of bc. To determine the actual values in use, type 'limits' in the expression pane. 2 The variable scale defaults to 0 if the math library is not loaded, 20 if it is loaded. 3 This functionality requires the preprocessor be installed. |
REALbasic and the REALbasic logo are trademarks of REAL Software, Inc., registered in the U.S., used with permission.
Mac is a trademark of Apple Computer, Inc., registered in the U.S. and other countries. The “Built for Mac OS X” graphic is a trademark of Apple Computer, Inc., used under license.
| The La Jolla Underground | ![]() |
|
| Copyright 2002 The La Jolla Underground | ||