Skip to content
/ ycalc Public

An extendable arbitrary precision calculator library in C

License

Notifications You must be signed in to change notification settings

bbuhrow/ycalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implements an extendable arbitrary precision calculator.
Supports function calls with optional arguments.
Supports interactive use by keeping internal state (user variables).
Depends on GMP for arbitrary arithmetic.

Library Usage:
    calc_init();                                        // set up some internal storage
    process_expression(expression_string, metadata);    // process expression_string
    calc_finalize();                                    // free internal storage

Demo program usage:
    1) If no arguments on command line, enter an interactive session.
    2) If string arguments on the command line, run calc on them and return.
    3) If redirect or pipe is detected, ignore any command line arguments, run
        calc on the lines in the file, and return;
    

About

An extendable arbitrary precision calculator library in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages