SAL Home MATH Misc


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:

Source Code Availability:


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:

Mailing Lists/USENET News Groups:


User Comments:

  • None

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

  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.