SAL Home MATH Misc

gexpr

Gexpr is a shell calculator, similar to expr(1) but with floating point numbers, standard C functions, and relational operators. It is a good alternative to expr(1) and bc(1). It can also be used to add floating point math to shell scripts.

Current Version:   1.0

License Type:   GPL

Home Site:
http://metalab.unc.edu/pub/Linux/apps/math/calc/

Source Code Availability:

Yes

Available Binary Packages:

  • Debian Package: No
  • RedHat RPM Package: No
  • Other Packages: ??

Targeted Platforms:

Any ANSI C-compliant machine

Software/Hardware Requirements:

ANSI C compiler (gcc/Linux, cc/Digital Unix 4.0, and djgpp 2.0/DOS were tested)

Other Links:
None

Mailing Lists/USENET News Groups:

None

User Comments:

  • None

An Example:
$ gexpr "exp(1)+sin(pi*(4-(2*2)))"
2.718281828459

  SAL Home   |   Mathematics   |   Misc


Comments? SAL@KachinaTech.COM
Copyright © 1995-2001 by Herng-Jeng Jou
Copyright © 1997-2001 by Kachina Technologies, Inc.
All rights reserved.