Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ASCI output #5

Open
whatmusicreallyis opened this issue Jan 13, 2019 · 0 comments
Open

Fix ASCI output #5

whatmusicreallyis opened this issue Jan 13, 2019 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@whatmusicreallyis
Copy link
Owner

Set up ASCI and DESCI

Fix ASCI output when DESCI is used as input.
The algorithm should interpret integers as n/1 and 1/n respectively, so:

  • Sorting of ASCI and DESCI should be straightforward, and just like the other fields (ASC and DESC): low to high from left to right, according to the interpreted fractions (not according to integer input/output).
  • Calculating will simply use the same formulas from ASC and DESC. When ASC and DESC are used as input, all fields output flawless. This should also happen when ASCI and DESCI are used as input, by using the same output formulas, with the addition of int-to-frac and frac-to-int internal conversions.
  • Optional: check algorithm for correct formulas: E (output ASCI) and F (output DESCI), applied from all inputs:
    -> asci (equate fractions with LCD, multiply all values by it = formulaE)
    -> desci (equate fractions with LCN, divide all values by it = formulaF)
@whatmusicreallyis whatmusicreallyis added bug Something isn't working help wanted Extra attention is needed labels Jan 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants