Ratio.js icon indicating copy to clipboard operation
Ratio.js copied to clipboard

Need version road map

Open LarryBattle opened this issue 13 years ago • 2 comments

This project needs a version road map system.

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

LarryBattle avatar Dec 07 '12 18:12 LarryBattle

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:

  • 0.4 -> Better support for scientific notation.
  • 0.5 -> Support for continued fractions, .toContinuedFraction() && .parseContinuedFraction() || .parse(arrOfCF )

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

  • 0.6 -> ?
  • 0.7 -> ?
  • 0.8 -> ?
  • 0.9 -> ?
  • 1.0 -> All test cases pass for all modern web browsers and node.js

LarryBattle avatar Dec 09 '12 23:12 LarryBattle

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

LarryBattle avatar Oct 07 '14 02:10 LarryBattle