Browsing projects by Tag(s)

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

Showing page 1 of 1

Include this header to be able to do fraction calculations. By simply including the header and specifying the storage type (integer variant)you can create and use a fractional data type. For example, fraction foo(3,4) would create a fraction name foo with a value of 3/4, and store the fraction ... [More] using the int data type. Simple to use, fast, and modifiable for your needs, because its all in one header file at your access. Its use is similar to that of the standard C++ library complex data type. It includes all basic mathematical operations as well as comparison operators, and is very flexible. If you would like to see a feature implemented, just ask here, or you can even do it yourself, and if you would like, post the updated source here for others to use and share. [Less]

0
 
  0 reviews  |  0 users  |  180 lines of code  |  0 current contributors  |  Analyzed 2 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.