Tags : Browse Projects

Select a tag to browse associated projects and drill deeper into the tag cloud.

rational

Compare

  Analyzed about 3 hours ago

A C++ rational (fraction) template class Include rational.h to be able to do fraction calculations. By simply including rational.h and specifying the storage type (any integer variant) you can create and use a fractional data type. Features * exchangeable GCD algorithms * optional signed ... [More] overflow/unsigned wrap checking * optimized for signed and unsigned types * construction of inproper (mixed) fractions and approximated fractions * Support for the GNU Multiple Precision Arithmetic Library and the CLN - Class Library for Numbers as underlying storage type * Expression templates for domain specific programming [Less]

7.89K lines of code

1 current contributors

almost 5 years since last commit

1 users on Open Hub

Inactive
0.0
 
I Use This