LarryBattle / Ratio.js

Rational numbers for Javascript
http://larrybattle.github.com/Ratio.js/
MIT License
113 stars 9 forks source link

Need version road map #26

Open LarryBattle opened 11 years ago

LarryBattle commented 11 years ago

This project needs a version road map system.

Software Versioning Policy: Semantic Versioning, http://semver.org/

LarryBattle commented 11 years ago

Software Versioning Guideline: a.b.c a, b, c are all integers that represent the release version. Increase a when a set well tested usable features have been added to the source code. Increase b for each new feature added or major refactors or API changes. Increase c for small document changes and bug fixes.

Road map:

More info on continued fractions: http://www.maths.surrey.ac.uk/hosted-sites/R.Knott/Fibonacci/cfINTRO.html

LarryBattle commented 10 years ago

Should some methods to removed??? Here are my thoughts from a while ago.

Keep:

Ratio.VERSION

Ratio.random
Ratio.parse

Ratio.prototype.abs
Ratio.prototype.add
Ratio.prototype.ceil
Ratio.prototype.clone
Ratio.prototype.deepEquals
Ratio.prototype.denominator
Ratio.prototype.descale
Ratio.prototype.divide
Ratio.prototype.equals
Ratio.prototype.floor
Ratio.prototype.isNaN
Ratio.prototype.mod
Ratio.prototype.multiply
Ratio.prototype.negate
Ratio.prototype.numerator
Ratio.prototype.pow
Ratio.prototype.reciprocal
Ratio.prototype.scale
Ratio.prototype.simplify
Ratio.prototype.subtract
Ratio.prototype.toArray
Ratio.prototype.toLocaleString
Ratio.prototype.toQuantityOf
Ratio.prototype.toString
Ratio.prototype.valueOf

Consider removing

?Ratio.gcd
?Ratio.isNumeric
?Ratio.guessType
?Ratio.getPrimeFactors
?Ratio.prototype.findX
?Ratio.MAX_PRECISION
?Ratio.MAX_VALUE
?Ratio.MIN_VALUE

Remove

- Ratio.getCleanENotation
- Ratio.getCombinedRatio
- Ratio.getNumeratorWithSign
- Ratio.getRepeatProps
- Ratio.getValueIfDefined
- Ratio.parseToArray
- Ratio.prototype.cleanFormat
- Ratio.prototype.correctRatio
- Ratio.prototype.isProper
- Ratio.prototype.makeProper
- Ratio.simplify
- Ratio.simplifyENotation
- Ratio.regex